Re: [PATCH 7/8] clk: ti: clkctrl: check return value of kasprintf()

From: Tony Lindgren
Date: Wed May 31 2023 - 00:12:15 EST


* Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx> [230530 09:41]:
> 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).

Reviewed-by: Tony Lindgren <tony@xxxxxxxxxxx>