[PATCH -next] powerpc/powernv: add NULL check after kzalloc

Michael Ellerman patch-notifications at ellerman.id.au
Tue Jun 9 15:28:35 AEST 2020


On Sat, 9 May 2020 10:08:38 +0800, Chen Zhou wrote:
> Fixes coccicheck warning:
> 
> ./arch/powerpc/platforms/powernv/opal.c:813:1-5:
> 	alloc with no test, possible model on line 814
> 
> Add NULL check after kzalloc.

Applied to powerpc/next.

[1/1] powerpc/powernv: add NULL check after kzalloc
      https://git.kernel.org/powerpc/c/ceffa63acce7165c442395b7d64a11ab8b5c5dca

cheers


More information about the Linuxppc-dev mailing list