Re: [PATCH 8/8] clk: clocking-wizard: check return value of devm_kasprintf()

From: Stephen Boyd
Date: Tue Jun 20 2023 - 14:56:38 EST


Quoting Claudiu Beznea (2023-05-30 02:39:13)
> devm_kasprintf() returns a pointer to dynamically allocated memory.
> Pointer could be NULL in case allocation fails. Check pointer validity.
> Identified with coccinelle (kmerr.cocci script).
>
> Fixes: 2046338dcbc6 ("ARM: mxs: Use soc bus infrastructure")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
> ---

Applied to clk-next