[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPLW+4=0_ErruqVsSUkKfzw0+m3i8J=jn8A_SEnwLKWZX1Oyuw@mail.gmail.com>
Date: Wed, 8 May 2024 15:52:08 -0500
From: Sam Protsenko <semen.protsenko@...aro.org>
To: Marek Szyprowski <m.szyprowski@...sung.com>
Cc: linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Russell King <linux@...linux.org.uk>,
Michael Turquette <mturquette@...libre.com>, Stephen Boyd <sboyd@...nel.org>
Subject: Re: [PATCH] clkdev: fix potential NULL pointer dereference
On Tue, May 7, 2024 at 1:45 AM Marek Szyprowski
<m.szyprowski@...sung.com> wrote:
>
> dev_fmt argument is optional, so avoid dereferencing it unconditionally.
>
> Fixes: 4d11c62ca8d7 ("clkdev: report over-sized strings when creating clkdev entries")
> Signed-off-by: Marek Szyprowski <m.szyprowski@...sung.com>
> ---
>
Thanks for fixing this, Marek! I tested it on the E850-96 board, and
it fixes the boot on current kernel-next for me (next-20240508). Feel
free to add:
Reviewed-by: Sam Protsenko <semen.protsenko@...aro.org>
Tested-by: Sam Protsenko <semen.protsenko@...aro.org>
[snip]
Powered by blists - more mailing lists