aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorCharlie Jenkins <[email protected]>2024-09-03 16:36:19 -0700
committerThomas Gleixner <[email protected]>2024-10-02 15:15:33 +0200
commit6eabf656048d904d961584de2e1d45bc0854f9fb (patch)
treeb6a3291030e5cb892669a44ed974ef03ccf2e606 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent4a1361e9a5c5dbb5c9f647762ae0cb1a605101fa (diff)
irqchip/sifive-plic: Return error code on failure
Set error to -ENOMEM if kcalloc() fails or if irq_domain_add_linear() fails inside of plic_probe() instead of returning 0. Fixes: 4d936f10ff80 ("irqchip/sifive-plic: Probe plic driver early for Allwinner D1 platform") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Charlie Jenkins <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Anup Patel <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/all/20240903-correct_error_codes_sifive_plic-v1-1-d929b79663a2@rivosinc.com Closes: https://lore.kernel.org/r/[email protected]/
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions