From: Greg KH <gregkh@linuxfoundation.org>
To: Haowen Bai <baihaowen@meizu.com>
Cc: sudeep.holla@arm.com, cristian.marussi@arm.com, ardb@kernel.org,
bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] firmware: edd: Remove redundant condition
Date: Fri, 18 Mar 2022 14:15:33 +0100 [thread overview]
Message-ID: <YjSF9fmBHciZl6Lc@kroah.com> (raw)
In-Reply-To: <1647511520-26455-1-git-send-email-baihaowen@meizu.com>
On Thu, Mar 17, 2022 at 06:05:20PM +0800, Haowen Bai wrote:
> The logic !A || A && B is equivalent to !A || B. so we have
> to make code clear.
But the logic here is:
(!A || (A && B))
not:
(!A || A && B)
as you write.
Is that the same? I don't want to have to dig up my son's logic
textbook...
How did you test this?
thanks,
greg k-h
next prev parent reply other threads:[~2022-03-18 13:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-17 10:05 [PATCH] firmware: edd: Remove redundant condition Haowen Bai
2022-03-18 13:15 ` Greg KH [this message]
[not found] <tjhedku0cwqypq8pujvusn6i.1647642604045@email.android.com>
2022-04-20 17:31 ` Greg KH
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=YjSF9fmBHciZl6Lc@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=ardb@kernel.org \
--cc=baihaowen@meizu.com \
--cc=bjorn.andersson@linaro.org \
--cc=cristian.marussi@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sudeep.holla@arm.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