mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| octep_cn9k_pf.c | ||
| octep_config.h | ||
| octep_ctrl_mbox.c | ||
| octep_ctrl_mbox.h | ||
| octep_ctrl_net.c | ||
| octep_ctrl_net.h | ||
| octep_ethtool.c | ||
| octep_main.c | ||
| octep_main.h | ||
| octep_regs_cn9k_pf.h | ||
| octep_rx.c | ||
| octep_rx.h | ||
| octep_tx.c | ||
| octep_tx.h | ||