Re: [PATCH 6/8] clk: keystone: sci-clk: check return value of kasprintf()

From: Tony Lindgren
Date: Wed May 31 2023 - 00:12:36 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>