[PATCH -next] powerpc/maple: fix comparing pointer to 0

Michael Ellerman patch-notifications at ellerman.id.au
Wed Jan 29 16:17:41 AEDT 2020


On Tue, 2020-01-21 at 01:31:53 UTC, Chen Zhou wrote:
> Fixes coccicheck warning:
> ./arch/powerpc/platforms/maple/setup.c:232:15-16:
> 	WARNING comparing pointer to 0
> 
> Compare pointer-typed values to NULL rather than 0.
> 
> Signed-off-by: Chen Zhou <chenzhou10 at huawei.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/1e3531982ee70adf1880715a968d9c3365f321ed

cheers


More information about the Linuxppc-dev mailing list