Re: [PATCH] phy: tegra: xusb: check return value of devm_kzalloc()

From: Vinod Koul
Date: Wed Jun 21 2023 - 13:37:38 EST


On 31-05-23, 10:39, Claudiu Beznea wrote:
> devm_kzalloc() returns a pointer to dynamically allocated memory.
> Pointer could be NULL in case allocation fails. Check pointer validity.
> Identified with coccinelle (kmerr.cocci script).

Applied, thanks

--
~Vinod