Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-12 Thread Michael Ellerman
On Wed, 23 Feb 2022 15:02:23 +0800, Hangyu Hua wrote: > 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. > > Applied to powerpc/next. [1/1] powerpc: 8xx: fix a re

Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-09 Thread Michael Ellerman
Christophe Leroy writes: > Le 09/03/2022 à 11:46, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> Le 09/03/2022 à 04:24, Michael Ellerman a écrit : Hangyu Hua writes: > mpc8xx_pic_init() should return -ENOMEM instead of 0 when > irq_domain_add_linear() return NULL. This c

Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-09 Thread Christophe Leroy
Le 09/03/2022 à 11:46, Michael Ellerman a écrit : > Christophe Leroy writes: >> Le 09/03/2022 à 04:24, Michael Ellerman a écrit : >>> Hangyu Hua writes: mpc8xx_pic_init() should return -ENOMEM instead of 0 when irq_domain_add_linear() return NULL. This cause mpc8xx_pics_init to

Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-09 Thread Michael Ellerman
Christophe Leroy writes: > Le 09/03/2022 à 04:24, Michael Ellerman a écrit : >> Hangyu Hua writes: >>> 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. >>> >>>

Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-08 Thread Christophe Leroy
Le 09/03/2022 à 04:24, Michael Ellerman a écrit : > Hangyu Hua writes: >> 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/8x

Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-08 Thread Michael Ellerman
Hangyu Hua writes: > 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-b

Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-08 Thread Christophe Leroy
Le 07/03/2022 à 02:41, Hangyu Hua a écrit : > Ping? > > On 2022/2/23 15:02, Hangyu Hua wrote: >> 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

Re: [PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-03-06 Thread Hangyu Hua
Ping? On 2022/2/23 15:02, Hangyu Hua wrote: 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 lea

[PATCH] powerpc: 8xx: fix a return value error in mpc8xx_pic_init

2022-02-23 Thread Hangyu Hua
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 --- arch/powerp