Re: [PATCH -next] powerpc/maple: fix comparing pointer to 0
From: Michael Ellerman
Date: Wed Jan 29 2020 - 00:17:47 EST
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@xxxxxxxxxx>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/1e3531982ee70adf1880715a968d9c3365f321ed
cheers