linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: a.zummo@towertech.it, "xiakaixu1987@gmail.com" <xiakaixu1987@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>,
	linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Kaixu Xia <kaixuxia@tencent.com>
Subject: Re: [PATCH] rtc: sc27xx: Remove unnecessary conversion to bool
Date: Sat, 14 Nov 2020 23:30:35 +0100	[thread overview]
Message-ID: <160539301049.847178.9602730906978910840.b4-ty@bootlin.com> (raw)
In-Reply-To: <1604647854-876-1-git-send-email-kaixuxia@tencent.com>

On Fri, 6 Nov 2020 15:30:54 +0800, xiakaixu1987@gmail.com wrote:
> Here we could use the '!=' expression to fix the following coccicheck
> warning:
> 
> ./drivers/rtc/rtc-sc27xx.c:566:50-55: WARNING: conversion to bool not needed here

Applied, thanks!

[1/1] rtc: sc27xx: Remove unnecessary conversion to bool
      commit: 825156a5eeded9bcb55e9c36d4b4b72bf20bcba6

Best regards,
-- 
Alexandre Belloni <alexandre.belloni@bootlin.com>

      reply	other threads:[~2020-11-14 22:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06  7:30 [PATCH] rtc: sc27xx: Remove unnecessary conversion to bool xiakaixu1987
2020-11-14 22:30 ` Alexandre Belloni [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=160539301049.847178.9602730906978910840.b4-ty@bootlin.com \
    --to=alexandre.belloni@bootlin.com \
    --cc=a.zummo@towertech.it \
    --cc=kaixuxia@tencent.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=xiakaixu1987@gmail.com \
    /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).