Home
last modified time | relevance | path

Searched hist:db8f7be1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sgi/
H A Dioc3-eth.cdb8f7be1 Wed Jun 09 08:25:15 CDT 2021 Yang Yingliang <yangyingliang@huawei.com> net: sgi: ioc3-eth: check return value after calling platform_get_resource()

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>
Signed-off-by: David S. Miller <davem@davemloft.net>