linux/arch/powerpc/platforms/8xx
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
..
adder875.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cpm1.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
ep88xc.c powerpc/8xx: Remove RTC clock on 88x 2018-06-04 00:39:18 +10:00
Kconfig powerpc/8xx: Always pin kernel text TLB 2020-12-09 23:47:45 +11:00
m8xx_setup.c powerpc: Replace setup_irq() by request_irq() 2020-03-25 12:07:57 +11:00
machine_check.c powerpc: bad_page_fault get registers from regs 2021-02-09 00:02:09 +11:00
Makefile powerpc/8xx: move CPM1 related files from sysdev/ to platforms/8xx 2019-07-05 02:06:37 +10:00
micropatch.c powerpc/8xx: Fix early debug when SMC1 is relocated 2020-12-09 17:00:54 +11:00
mpc8xx.h powerpc: Make ppc_md.{halt, restart} __noreturn 2016-07-14 21:12:06 +10:00
mpc86xads_setup.c powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00
mpc86xads.h
mpc885ads_setup.c powerpc/8xx: Remove RTC clock on 88x 2018-06-04 00:39:18 +10:00
mpc885ads.h
pic.c powerpc: 8xx: fix a return value error in mpc8xx_pic_init 2022-03-09 21:46:55 +11:00
pic.h powerpc/8xx: Move mpc8xx_pic.c from sysdev to platform/8xx 2017-08-10 23:32:07 +10:00
tqm8xx_setup.c powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00