[lvc-project] [PATCH 5.10/5.15] clk: imx: Add check for kcalloc
Sasha Levin
sashal at kernel.org
Sat Jul 4 05:05:23 MSK 2026
On Thu, Jul 03, 2026 at 03:13:38PM +0300, Alexandra Diupina wrote:
> From: Jiasheng Jiang <jiasheng at iscas.ac.cn>
>
> commit ed713e2bc093239ccd380c2ce8ae9e4162f5c037 upstream.
>
> As the potential failure of the kcalloc(),
> it should be better to check it in order to
> avoid the dereference of the NULL pointer.
Queued for 5.15.y and 5.10.y, thanks!
--
Thanks,
Sasha
More information about the lvc-project
mailing list