]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: use true, false for bool variable in amdgpu_device.c
authorzhengbin <zhengbin13@huawei.com>
Mon, 23 Dec 2019 13:46:19 +0000 (21:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2019 20:00:01 +0000 (15:00 -0500)
commit2a9b90ae470488f7f1ad37d2c8d7cee8a0fb0c63
treed0bd036c3a6ba1b388baf0d37b7ff84afe3243d2
parent6df3dab619f39b2abfb12b805017eff5169f1e6e
drm/amdgpu: use true, false for bool variable in amdgpu_device.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3961:1-19: WARNING: Assignment of 0/1 to bool variable
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3981:1-19: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c