All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Chen Zhou <chenzhou10@huawei.com>, <benh@kernel.crashing.org>,
	<paulus@samba.org>
Cc: chenzhou10@huawei.com, gregkh@linuxfoundation.org,
	linux-kernel@vger.kernel.org, nivedita@alum.mit.edu,
	tglx@linutronix.de, linuxppc-dev@lists.ozlabs.org,
	allison@lohutok.net
Subject: Re: [PATCH -next] powerpc/maple: fix comparing pointer to 0
Date: Wed, 29 Jan 2020 16:17:41 +1100 (AEDT)	[thread overview]
Message-ID: <486sF15MZrz9sRs@ozlabs.org> (raw)
In-Reply-To: <20200121013153.9937-1-chenzhou10@huawei.com>

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@huawei.com>

Applied to powerpc next, thanks.

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

cheers

      parent reply	other threads:[~2020-01-29  6:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21  1:31 [PATCH -next] powerpc/maple: fix comparing pointer to 0 Chen Zhou
2020-01-21  1:31 ` Chen Zhou
2020-01-21  1:52 ` Joe Perches
2020-01-21  1:52   ` Joe Perches
2020-01-21  7:47   ` Segher Boessenkool
2020-01-21  7:47     ` Segher Boessenkool
2020-01-21 11:15     ` Joe Perches
2020-01-21 11:15       ` Joe Perches
2020-01-29  5:17 ` Michael Ellerman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=486sF15MZrz9sRs@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=allison@lohutok.net \
    --cc=benh@kernel.crashing.org \
    --cc=chenzhou10@huawei.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nivedita@alum.mit.edu \
    --cc=paulus@samba.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.