Re: [PATCH] powerpc/xive: Add missing null check after calling kmalloc

2022-01-09 Thread Michael Ellerman
On Sun, 26 Dec 2021 20:54:02 +0700, Ammar Faizi wrote:
> Commit 930914b7d528fc ("powerpc/xive: Add a debugfs file to dump
> internal XIVE state") forgot to add a null check.
> 
> Add it.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/xive: Add missing null check after calling kmalloc
  https://git.kernel.org/powerpc/c/18dbfcdedc802f9500b2c29794f22a31d27639c0

cheers


Re: [PATCH] powerpc/xive: Add missing null check after calling kmalloc

2022-01-02 Thread Cédric Le Goater

On 12/26/21 14:54, Ammar Faizi wrote:

Commit 930914b7d528fc ("powerpc/xive: Add a debugfs file to dump
internal XIVE state") forgot to add a null check.

Add it.

Cc: Cédric Le Goater 
Cc: Michael Ellerman 
Fixes: 930914b7d528fc6b0249bffc00564100bcf6ef75 ("powerpc/xive: Add a debugfs file 
to dump internal XIVE state")
Signed-off-by: Ammar Faizi 



Reviewed-by: Cédric Le Goater 

Thanks,

C.