linux-stable/arch/powerpc/platforms
Hangyu Hua 3fd46e551f 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: cc76404fea ("powerpc/8xx: Fix possible device node reference leak")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220223070223.26845-1-hbh25y@gmail.com
2022-03-09 21:46:55 +11:00
..
4xx powerpc updates for 5.17 2022-01-14 15:17:26 +01:00
8xx powerpc: 8xx: fix a return value error in mpc8xx_pic_init 2022-03-09 21:46:55 +11:00
40x powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
44x powerpc updates for 5.17 2022-01-14 15:17:26 +01:00
52xx powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
82xx powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:41 +01:00
83xx powerpc/83xx: Add __init attribute to eligible functions 2021-12-23 22:33:18 +11:00
85xx powerpc/corenet: Change criteria to set MPIC_ENABLE_COREINT 2022-02-07 21:03:10 +11:00
86xx powerpc/mpc86xx_hpcn: Remove obsolete statement 2022-02-07 21:03:09 +11:00
512x powerpc/512x: Add __init attribute to eligible functions 2021-12-23 22:33:19 +11:00
amigaone
book3s powerpc/vas: Map paste address only if window is active 2022-03-08 00:04:55 +11:00
cell powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
chrp powerpc/chrp: Add __init attribute to eligible functions 2021-12-23 22:33:13 +11:00
embedded6xx powerpc/embedded6xx: Add __init attribute to eligible functions 2021-12-23 22:33:17 +11:00
maple powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
microwatt powerpc/microwatt: add POWER9_CPU, clear PPC_64S_HASH_MMU 2021-12-09 22:41:16 +11:00
pasemi bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
powermac powerpc/machdep: Move sys_ctrler_t definition into pmac_feature.h 2022-02-07 21:02:20 +11:00
powernv powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
ps3 powerpc/ps3: remove unneeded semicolons 2022-03-09 14:26:35 +11:00
pseries powerpc: declare unmodified attribute_group usages const 2022-03-08 22:15:32 +11:00
fsl_uli1575.c
Kconfig powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
Kconfig.cputype powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E 2022-03-08 22:07:41 +11:00
Makefile powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00