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

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c:255:2-20: WARNING: Assignment of 0/1 to bool variable
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c:267:2-20: 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/mxgpu_nv.c