Re: [PATCH v2] drm/amdgpu_vm: fix boolean expressions

From: Gustavo A. R. Silva
Date: Fri Jan 04 2019 - 11:58:43 EST


Hi Ezequiel,

On 1/4/19 10:40 AM, Ezequiel Garcia wrote:
Hey Gustavo,

On Thu, 3 Jan 2019 at 17:25, Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx> wrote:

Fix boolean expressions by using logical AND operator '&&'
instead of bitwise operator '&'.

This issue was detected with the help of Coccinelle.

Fixes: 9a4b7d4c769e ("drm/amdgpu: Add vm context module param")
Cc: stable@xxxxxxxxxxxxxxx
Reviewed-by: Felix Kuehling <Felix.Kuehling@xxxxxxx>
Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
---
Changes in v2:
- Update Fixes tag.


This just fixes a user warning that would be wrongly reported, but
doesn't fix any other issue.

Why stable?


Yeah. In this case the tag can be removed.

Happy new year.

Thanks
--
Gustavo