aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-05-06 07:23:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-05-06 16:58:05 -0400
commit594a1d0f34d95c426d58624bb47aba8071c16c3a (patch)
tree507af5a17148b8ca5ae27154d3061f3399d09f43 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent1e51dbad4b5a9f72435fa8172510134afe6aad67 (diff)
drm/amdkfd: Return true/false (not 1/0) from bool functions
Return boolean values ("true" or "false") instead of 1 or 0 from bool functions. This fixes the following warnings from coccicheck: ./drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c:244:9-10: WARNING: return of 0/1 in function 'event_interrupt_isr_v11' with return type bool Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions