Re: [PATCH] clk: mmp: Fix NULL vs IS_ERR() check

Stephen Boyd
2025-03-07T19:05:12Z

Quoting Charles Han (2025-03-06 22:47:07)
> The devm_kzalloc() function returns NULL on error, not error pointers.
> Fix the check.
>
> Fixes: 03437e857b0a ("clk: mmp: Add Marvell PXA1908 APMU driver")
> Signed-off-by: Charles Han <hanchunchao@inspur.com>
> ---

Applied to clk-next