# Re: \[PATCH\] powerpc: 8xx: fix a return value error in mpc8xx\_pic\_init

- From: Michael Ellerman \<hidden\>
- Date: 2022-03-12 10:31:01 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/03/1702474
- Thread: https://ratatoskr.run/linuxppc-dev/2022/02/1681474/t.md

```text
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 return value error in mpc8xx_pic_init
      https://git.kernel.org/powerpc/c/3fd46e551f67f4303c3276a0d6cd20baf2d192c4

cheers
```
