[PATCH] clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()

Stephen Boyd sboyd at kernel.org
Tue Nov 2 14:41:17 PDT 2021


Quoting Yang Yingliang (2021-09-18 00:37:52)
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.
> 
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
> ---

Can we delete this driver now?



More information about the linux-arm-kernel mailing list