]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix boolreturn.cocci warnings
authorAishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Mon, 18 May 2020 16:23:12 +0000 (21:53 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:37:19 +0000 (12:37 -0400)
commit94401c7ed9a2e84a9f11d2513375c7495dec1dc9
tree0202fce70781a9155e68f814240bd9d38d6c89bd
parent01bf204e0843e79cd95608a714a879a0ffc82bec
drm/amdkfd: Fix boolreturn.cocci warnings

Return statements in functions returning bool should use
true/false instead of 1/0.

drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c:40:9-10:
WARNING: return of 0/1 in function 'event_interrupt_isr_v9' with return type bool

Generated by: scripts/coccinelle/misc/boolreturn.cocci

Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c