net/sfc/base: prevent access to the NIC config before probe
authorMark Spender <mspender@solarflare.com>
Mon, 10 Sep 2018 09:33:26 +0000 (10:33 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commitf78fb0a8e1c78cc3ffcdd0a6b72f6aa200e980ee
tree7e9d98cf584231c3a88029d97ca420977794cc4c
parent416aa7f1c98acfaf996a54f63fd2a02dc5ef3a73
net/sfc/base: prevent access to the NIC config before probe

NIC config is initialized during NIC probe.

Fixes: 19b64c6ac35f ("net/sfc/base: import libefx base")
Cc: stable@dpdk.org
Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_nic.c