]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v10_0.c
authorZheng Bin <zhengbin13@huawei.com>
Wed, 9 Sep 2020 13:07:14 +0000 (21:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:43 +0000 (17:52 -0400)
commit4561477aaf4d55f11474d361ba3e8f7dc29dda43
tree6db9ef32233c10f91037c377e34d4497b6db98ac
parentbcca4737cddc7291708c5763e915ec118724e028
drm/amd/amdgpu: fix comparison pointer to bool warning in gfx_v10_0.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3563:5-31: WARNING: Comparison to bool

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c