[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d6f3bedd-11b9-4eaf-a8a2-a6da460fc7b3@broadcom.com>
Date: Mon, 10 Feb 2025 20:08:01 -0800
From: Florian Fainelli <florian.fainelli@...adcom.com>
To: Chenyuan Yang <chenyuan0y@...il.com>, mturquette@...libre.com,
sboyd@...nel.org
Cc: bcm-kernel-feedback-list@...adcom.com, richardcochran@...il.com,
dave.stevenson@...pberrypi.com, popcornmix@...il.com, mripard@...nel.org,
u.kleine-koenig@...libre.com, nathan@...nel.org, linux-clk@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org, zzjas98@...il.com
Subject: Re: [PATCH] clk: bcm: rpi: Fix potential NULL pointer dereference
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 <chenyuan0y@...il.com>
Reviewed-by: Florian Fainelli <florian.fainelli@...adcom.com>
--
Florian
Powered by blists - more mailing lists