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

2019-01-03 Thread Gustavo A. R. Silva
On 1/3/19 1:17 PM, Kuehling, Felix wrote: On 2019-01-03 12:34 p.m., Gustavo A. R. Silva wrote: Fix boolean expressions by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: c8c5e569c5b0 ("drm/amdgpu: Consolidate visibl

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

2019-01-03 Thread Kuehling, Felix
On 2019-01-03 12:34 p.m., Gustavo A. R. Silva wrote: > Fix boolean expressions by using logical AND operator '&&' > instead of bitwise operator '&'. > > This issue was detected with the help of Coccinelle. > > Fixes: c8c5e569c5b0 ("drm/amdgpu: Consolidate visible vs. real vram check > v2.") Actual

[PATCH] drm/amdgpu_vm: fix boolean expressions

2019-01-03 Thread Gustavo A. R. Silva
Fix boolean expressions by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: c8c5e569c5b0 ("drm/amdgpu: Consolidate visible vs. real vram check v2.") Cc: sta...@vger.kernel.org Signed-off-by: Gustavo A. R. Silva --- driv