linux/drivers/net/ethernet/marvell
Ziyang Xuan 848ffce2f0 octeon_ep: ensure get mac address successfully before eth_hw_addr_set()
octep_get_mac_addr() can fail because send mbox message failed. If this
happens, octep_dev->mac_addr will be zero. It should not continue to
initialize. Add exception handling for octep_get_mac_addr() to fix it.

Fixes: 862cd659a6 ("octeon_ep: Add driver framework and device initialization")
Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-11-14 10:55:43 +00:00
..
mvpp2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-10-03 17:44:18 -07:00
octeon_ep octeon_ep: ensure get mac address successfully before eth_hw_addr_set() 2022-11-14 10:55:43 +00:00
octeontx2 octeontx2-pf: Fix SQE threshold checking 2022-11-08 13:43:46 +01:00
prestera net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init() 2022-11-08 17:19:23 -08:00
Kconfig net: mvneta: add support for page_pool_get_stats 2022-04-15 10:43:48 +01:00
Makefile octeon_ep: Add driver framework and device initialization 2022-04-13 12:56:32 +01:00
mv643xx_eth.c net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open() 2022-11-10 13:30:01 +01:00
mvmdio.c
mvneta.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
mvneta_bm.c
mvneta_bm.h
pxa168_eth.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
skge.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
skge.h
sky2.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
sky2.h