]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit86b6624ae27dee6898cde10e454c6b1f61cd8888
tree2a93d5348c1ddbffd31f5f49102ba581e782b1fb
parent0b08c54bb7a37047a3a006e36c2270ebc62fef7d
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