OpenCloudOS-Kernel/drivers/net/ethernet/wiznet
Yang Yingliang a39ff4a47f net: w5100: 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>
2021-08-31 12:08:42 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
w5100-spi.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
w5100.c net: w5100: check return value after calling platform_get_resource() 2021-08-31 12:08:42 +01:00
w5100.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
w5300.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00