diff options
| author | Hangyu Hua <[email protected]> | 2022-02-23 15:02:23 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-03-09 21:46:55 +1100 |
| commit | 3fd46e551f67f4303c3276a0d6cd20baf2d192c4 (patch) | |
| tree | debfa2ecaa492a082e9938e08135a6619cc6db4c /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | 9f5196065eeb96fee1a15f2eae31fe1fc7623ade (diff) | |
powerpc: 8xx: fix a return value error in mpc8xx_pic_init
mpc8xx_pic_init() should return -ENOMEM instead of 0 when
irq_domain_add_linear() return NULL. This cause mpc8xx_pics_init to continue
executing even if mpc8xx_pic_host is NULL.
Fixes: cc76404feaed ("powerpc/8xx: Fix possible device node reference leak")
Signed-off-by: Hangyu Hua <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions