Re: [PATCH] clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
From
Stephen Boyd <>
Date
Tue, 02 Nov 2021 14:41:17 -0700
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@huawei.com> > ---