Re: [PATCH -next] drm/amdgpu: Fix warning Comparison to bool

2020-04-30 Thread Alex Deucher
On Thu, Apr 30, 2020 at 3:32 AM Zou Wei wrote: > > fix below warnings reported by coccicheck > > drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:630:5-11: WARNING: Comparison to bool This seems incorrect. enable is a bool. Alex > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- > drivers/gpu

[PATCH -next] drm/amdgpu: Fix warning Comparison to bool

2020-04-29 Thread Zou Wei
fix below warnings reported by coccicheck drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:630:5-11: WARNING: Comparison to bool Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/a