Re: [PATCH net-next v2] net: mscc: ocelot: check return value after calling platform_get_resource()
On Sat, Jun 05, 2021 at 10:31:48AM +0800, Yang Yingliang wrote: > 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> > ---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>