drm/amdkfd: Return true/false (not 1/0) from bool functions
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 5 May 2022 23:23:11 +0000 (07:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 May 2022 20:58:05 +0000 (16:58 -0400)
commit594a1d0f34d95c426d58624bb47aba8071c16c3a
tree507af5a17148b8ca5ae27154d3061f3399d09f43
parent1e51dbad4b5a9f72435fa8172510134afe6aad67
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>
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c