Thread (3 messages) 3 messages, 3 authors, 2025-02-11

Re: [PATCH] clk: bcm: rpi: Fix potential NULL pointer dereference

From: Florian Fainelli <florian.fainelli@broadcom.com>
Date: 2025-02-11 04:08:06
Also in: linux-clk, lkml, netdev


On 2/10/2025 4:09 PM, Chenyuan Yang wrote:
The `init.name` could be NULL. Add missing check in the
raspberrypi_clk_register().
This is similar to commit 3027e7b15b02
("ice: Fix some null pointer dereference issues in ice_ptp.c").
Besides, bcm2835_register_pll_divider() under the same directory also
has a very similar check.

Signed-off-by: Chenyuan Yang <redacted>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help