From: "Rob Herring (Arm)" <robh@kernel.org>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Saravana Kannan <saravanak@google.com>,
Stefan Wiehler <stefan.wiehler@nokia.com>
Subject: Re: [PATCH] of/irq: Refer to actual buffer size in of_irq_parse_one()
Date: Mon, 26 Aug 2024 08:45:17 -0500 [thread overview]
Message-ID: <172467991093.55425.937824843715730335.robh@kernel.org> (raw)
In-Reply-To: <817c0b9626fd30790fc488c472a3398324cfcc0c.1724156125.git.geert+renesas@glider.be>
On Tue, 20 Aug 2024 14:16:53 +0200, Geert Uytterhoeven wrote:
> Replace two open-coded calculations of the buffer size by invocations of
> sizeof() on the buffer itself, to make sure the code will always use the
> actual buffer size.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> If you think this warrants a Fixes-tag:
>
> Fixes: b739dffa5d570b41 ("of/irq: Prevent device address out-of-bounds read in interrupt map walk")
> ---
> drivers/of/irq.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Applied, thanks!
prev parent reply other threads:[~2024-08-26 13:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 12:16 Geert Uytterhoeven
2024-08-26 13:45 ` Rob Herring (Arm) [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=172467991093.55425.937824843715730335.robh@kernel.org \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=linux-kernel@vger.kernel.org \
--cc=saravanak@google.com \
--cc=stefan.wiehler@nokia.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
all inboxes | Powered by JetHome®