diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-05-06 07:23:11 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-06 16:58:05 -0400 |
commit | 594a1d0f34d95c426d58624bb47aba8071c16c3a (patch) | |
tree | 507af5a17148b8ca5ae27154d3061f3399d09f43 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 1e51dbad4b5a9f72435fa8172510134afe6aad67 (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