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

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:1003:4-9: WARNING: Comparison to bool
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:1083:5-11: 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/sdma_v4_0.c