From: Rob Herring <robh+dt@kernel.org>
To: CGEL <cgel.zte@gmail.com>
Cc: Frank Rowand <frowand.list@gmail.com>,
devicetree@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Jing Yangyang <jing.yangyang@zte.com.cn>,
Zeal Robot <zealci@zte.com.cn>
Subject: Re: [PATCH linux-next] scripts/dtc/util: fix boolreturn.cocci warnings
Date: Tue, 24 Aug 2021 07:16:20 -0500 [thread overview]
Message-ID: <CAL_JsqKOjFPfY8OW=8_zkbTaJ2H4zAwTSTWzWZ3-i3ZD7+NjdA@mail.gmail.com> (raw)
In-Reply-To: <20210824064503.60168-1-deng.changcheng@zte.com.cn>
On Tue, Aug 24, 2021 at 1:45 AM CGEL <cgel.zte@gmail.com> wrote:
>
> From: Jing Yangyang <jing.yangyang@zte.com.cn>
>
> Return statements in functions returning bool should use true/false
> instead of 1/0.
>
> Generated by: scripts/coccinelle/misc/boolreturn.cocci
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: Jing Yangyang <jing.yangyang@zte.com.cn>
> ---
> scripts/dtc/util.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
scripts/dtc/ is synced from upstream dtc, so if you want to make any
changes you need to submit patches against upstream and to the dtc
list.
Rob
prev parent reply other threads:[~2021-08-24 12:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 6:45 [PATCH linux-next] scripts/dtc/util: fix boolreturn.cocci warnings CGEL
2021-08-24 12:16 ` Rob Herring [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='CAL_JsqKOjFPfY8OW=8_zkbTaJ2H4zAwTSTWzWZ3-i3ZD7+NjdA@mail.gmail.com' \
--to=robh+dt@kernel.org \
--cc=cgel.zte@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=jing.yangyang@zte.com.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=zealci@zte.com.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).