Re: [PATCH] clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup()
From: Maxime Ripard
Date: Wed May 29 2019 - 04:08:41 EST
On Tue, May 28, 2019 at 10:18:51AM +0800, Gen Zhang wrote:
> In sunxi_divs_clk_setup(), 'derived_name' is allocated by kstrndup().
> It returns NULL when fails. 'derived_name' should be checked.
>
> Signed-off-by: Gen Zhang <blackgod016574@xxxxxxxxx>
Applied, thanks
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Attachment:
signature.asc
Description: PGP signature