ionic: keep ionic dev on lif init fail
authorShannon Nelson <snelson@pensando.io>
Sat, 7 Mar 2020 01:04:01 +0000 (17:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:34:03 +0000 (19:34 -0700)
commit30a1e6d0f8e26069b45a16d92dc739764cd857bc
tree006b51fd24d75f60228953fc5d1123923b0c54a3
parentc8e98343bf5c322026324d6ef9d8ac891ad19dc4
ionic: keep ionic dev on lif init fail

If the basic ionic interface works but the lif creation fails,
don't fail the probe.  This will allow us to use the driver to
help inspect the hw/fw/pci interface for debugging purposes.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_lif.c