]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Return boolean types instead of integer values
authorSumera Priyadarsini <sylphrenadin@gmail.com>
Wed, 21 Oct 2020 18:26:10 +0000 (23:56 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Oct 2020 20:17:08 +0000 (16:17 -0400)
commit102e576871aacf0656b265c3e5058ea555893407
tree2a93d5348c1ddbffd31f5f49102ba581e782b1fb
parentc4075c7ad6c915295022011a973086d97a4d4525
drm/amdgpu: Return boolean types instead of integer values

Return statements for functions returning bool should use truth
and false instead of 1 and 0 respectively.

Modify cik_event_interrupt.c to return false instead of 0.

Issue found with Coccinelle.

Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c