linux/drivers/net/ethernet/microchip/sparx5
Yang Yingliang f00af5cc58 net: sparx5: 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.

Fixes: 3cfa11bac9 ("net: sparx5: add the basic sparx5 driver")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-28 14:20:22 -07:00
..
Kconfig
Makefile net: sparx5: add ethtool configuration and statistics support 2021-06-24 11:28:13 -07:00
sparx5_calendar.c net: sparx5: add calendar bandwidth allocation support 2021-06-24 11:28:13 -07:00
sparx5_ethtool.c net: sparx5: add ethtool configuration and statistics support 2021-06-24 11:28:13 -07:00
sparx5_mactable.c net: sparx5: add switching support 2021-06-24 11:28:13 -07:00
sparx5_main_regs.h
sparx5_main.c net: sparx5: check return value after calling platform_get_resource() 2021-06-28 14:20:22 -07:00
sparx5_main.h net: sparx5: add ethtool configuration and statistics support 2021-06-24 11:28:13 -07:00
sparx5_netdev.c net: sparx5: add ethtool configuration and statistics support 2021-06-24 11:28:13 -07:00
sparx5_packet.c net: sparx5: add switching support 2021-06-24 11:28:13 -07:00
sparx5_phylink.c net: sparx5: add port module support 2021-06-24 11:28:12 -07:00
sparx5_port.c net: sparx5: add port module support 2021-06-24 11:28:12 -07:00
sparx5_port.h net: sparx5: add port module support 2021-06-24 11:28:12 -07:00
sparx5_switchdev.c net: switchdev: add a context void pointer to struct switchdev_notifier_info 2021-06-28 14:09:03 -07:00
sparx5_vlan.c net: sparx5: add vlan support 2021-06-24 11:28:13 -07:00