From: Sasha Levin <sashal@kernel.org>
To: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Cc: stable@vger.kernel.org, Ben Hutchings <ben@decadent.org.uk>,
Boris Brezillon <boris.brezillon@bootlin.com>,
Nobuhiro Iwamatsu <noburhio1.nobuhiro@toshiba.co.jp>
Subject: Re: [PATCH for 4.4 and 4.9] mtd: Fix comparison in map_word_andequal()
Date: Thu, 24 Sep 2020 19:15:47 -0400 [thread overview]
Message-ID: <20200924231547.GS2431@sasha-vm> (raw)
In-Reply-To: <20200924100054.367518-1-nobuhiro1.iwamatsu@toshiba.co.jp>
On Thu, Sep 24, 2020 at 07:00:54PM +0900, Nobuhiro Iwamatsu wrote:
>From: Ben Hutchings <ben@decadent.org.uk>
>
>commit ea739a287f4f16d6250bea779a1026ead79695f2 upstream.
>
>Commit 9e343e87d2c4 ("mtd: cfi: convert inline functions to macros")
>changed map_word_andequal() into a macro, but also changed the right
>hand side of the comparison from val3 to val2. Change it back to use
>val3 on the right hand side.
>
>Thankfully this did not cause a regression because all callers
>currently pass the same argument for val2 and val3.
>
>Fixes: 9e343e87d2c4 ("mtd: cfi: convert inline functions to macros")
>Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
>Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
>Signed-off-by: Nobuhiro Iwamatsu (CIP) <noburhio1.nobuhiro@toshiba.co.jp>
Queued up, thanks!
--
Thanks,
Sasha
prev parent reply other threads:[~2020-09-24 23:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 10:00 [PATCH for 4.4 and 4.9] mtd: Fix comparison in map_word_andequal() Nobuhiro Iwamatsu
2020-09-24 23:15 ` Sasha Levin [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=20200924231547.GS2431@sasha-vm \
--to=sashal@kernel.org \
--cc=ben@decadent.org.uk \
--cc=boris.brezillon@bootlin.com \
--cc=nobuhiro1.iwamatsu@toshiba.co.jp \
--cc=noburhio1.nobuhiro@toshiba.co.jp \
--cc=stable@vger.kernel.org \
/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