[PATCH] clkdev: fix potential NULL pointer dereference

Sam Protsenko semen.protsenko at linaro.org
Wed May 8 13:52:08 PDT 2024


On Tue, May 7, 2024 at 1:45 AM Marek Szyprowski
<m.szyprowski at samsung.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 at samsung.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 at linaro.org>
Tested-by: Sam Protsenko <semen.protsenko at linaro.org>

[snip]



More information about the linux-arm-kernel mailing list