diff options
author | Shashank Sharma <[email protected]> | 2023-02-27 15:42:28 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-03-09 22:06:19 -0500 |
commit | 20534dbcc7b7bfb447279cdcfb0d88ee3b779a18 (patch) | |
tree | bda936d8a09853060d42af830255d0a0fcdb5f52 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 1717cc5f2962a4652c76ed3858b499ccae6c277c (diff) |
drm/amdgpu: fix return value check in kfd
This patch fixes a return value check in kfd doorbell handling.
This function should return 0(error) only when the ida_simple_get
returns < 0(error), return > 0 is a success case.
Cc: Felix Kuehling <[email protected]>
Cc: Alex Deucher <[email protected]>
Fixes: 16f0013157bf ("drm/amdkfd: Allocate doorbells only when needed")
Acked-by: Christian Koenig <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Shashank Sharma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions