Re: [PATCH] clkdev: fix potential NULL pointer dereference

From: Russell King (Oracle)
Date: Tue May 07 2024 - 05:34:57 EST


On Tue, May 07, 2024 at 08:44:34AM +0200, Marek Szyprowski 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@xxxxxxxxxxx>

Please put this in the patch system so it can be merged along with the
change that created the problem. Thanks.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!