]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use true, false for bool variable in mxgpu_ai.c
authorzhengbin <zhengbin13@huawei.com>
Mon, 23 Dec 2019 13:46:17 +0000 (21:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2019 20:00:00 +0000 (15:00 -0500)
commit8b46767ae75d196e734eea824fc3eb9de76f3b1a
treeb9428601fa310038a8d2a330f7999d79529cba77
parent3824fda370c9ade750565ea6da2cddeb5728eeeb
drm/amdgpu: use true, false for bool variable in mxgpu_ai.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c:253:2-20: WARNING: Assignment of 0/1 to bool variable
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c:265: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_ai.c