linux/drivers/net/ethernet/marvell/octeon_ep
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
..
Kconfig
Makefile octeon_ep: add ethtool support for Octeon PCI Endpoint NIC 2022-04-13 12:56:32 +01:00
octep_cn9k_pf.c octeon_ep: Fix spelling mistake "inerrupts" -> "interrupts" 2022-04-15 11:16:09 +01:00
octep_config.h
octep_ctrl_mbox.c octeon_ep: Remove custom driver version 2022-04-15 14:04:14 -07:00
octep_ctrl_mbox.h octeon_ep: add support for ndo ops 2022-04-13 12:56:32 +01:00
octep_ctrl_net.c octeon_ep: add support for ndo ops 2022-04-13 12:56:32 +01:00
octep_ctrl_net.h
octep_ethtool.c octeon_ep: add ethtool support for Octeon PCI Endpoint NIC 2022-04-13 12:56:32 +01:00
octep_main.c octeon_ep: ensure get mac address successfully before eth_hw_addr_set() 2022-11-14 10:55:43 +00:00
octep_main.h octeon_ep: Remove custom driver version 2022-04-15 14:04:14 -07:00
octep_regs_cn9k_pf.h octeon_ep: use bitwise AND 2022-06-27 21:56:35 -07:00
octep_rx.c octeon_ep: Remove useless casting value returned by vzalloc to structure 2022-09-19 18:33:21 -07:00
octep_rx.h
octep_tx.c octeon_ep: delete unnecessary NULL check 2022-05-16 11:40:04 +01:00
octep_tx.h