From: Jason Yan <yanaijie@huawei.com>
To: Wolfram Sang <wsa@the-dreams.de>
Cc: <agross@kernel.org>, <bjorn.andersson@linaro.org>,
<linux-arm-msm@vger.kernel.org>, <linux-i2c@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] i2c: busses: remove unneeded conversion to bool
Date: Sun, 26 Apr 2020 16:44:16 +0800 [thread overview]
Message-ID: <bb3f98c1-e97d-7ed9-8983-a8d8a729e5ac@huawei.com> (raw)
In-Reply-To: <20200426081652.GH1262@kunai>
在 2020/4/26 16:16, Wolfram Sang 写道:
> On Mon, Apr 20, 2020 at 12:28:16PM +0800, Jason Yan wrote:
>> The '>' expression itself is bool, no need to convert it to bool again.
>> This fixes the following coccicheck warning:
>>
>> drivers/i2c/busses/i2c-qup.c:960:48-53: WARNING: conversion to bool not needed here
>> drivers/i2c/busses/i2c-qup.c:962:47-52: WARNING: conversion to bool not needed here
>> drivers/i2c/busses/i2c-qup.c:1531:29-34: WARNING: conversion to bool not needed here
>> drivers/i2c/busses/i2c-qup.c:1533:29-34: WARNING: conversion to bool not needed here
>>
>> Signed-off-by: Jason Yan <yanaijie@huawei.com>
>
> Applied to for-next, thanks! But please fix $subject to have the driver
> name "qup" next time.
>
OK, get it.
Thanks,
Jason
prev parent reply other threads:[~2020-04-26 8:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 4:28 [PATCH] i2c: busses: remove unneeded conversion to bool Jason Yan
2020-04-20 4:44 ` Bjorn Andersson
2020-04-26 8:16 ` Wolfram Sang
2020-04-26 8:44 ` Jason Yan [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=bb3f98c1-e97d-7ed9-8983-a8d8a729e5ac@huawei.com \
--to=yanaijie@huawei.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wsa@the-dreams.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox