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")
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.