[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172467991093.55425.937824843715730335.robh@kernel.org>
Date: Mon, 26 Aug 2024 08:45:17 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Saravana Kannan <saravanak@...gle.com>,
Stefan Wiehler <stefan.wiehler@...ia.com>
Subject: Re: [PATCH] of/irq: Refer to actual buffer size in of_irq_parse_one()
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@...der.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!
Powered by blists - more mailing lists