[1/1] cxl/vphb.c: Use phb pointer after NULL check

Michael Ellerman mpe at ellerman.id.au
Tue Jul 7 20:38:02 AEST 2015


On Mon, 2015-29-06 at 10:35:11 UTC, Maninder Singh wrote:
> static Anlaysis detected below error:-
> (error) Possible null pointer dereference: phb
> 
> So, Use phb after NULL check.
> 
> Signed-off-by: Maninder Singh <maninder1.s at samsung.com>
> Acked-by: Ian Munsie <imunsie at au1.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/commit/?h=fixes&id=14f21189df33bc972455d6a0ed875aa68718d7fc

cheers


More information about the Linuxppc-dev mailing list