diff options
author | Edward Cree <ecree@solarflare.com> | 2014-11-03 15:14:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-03 21:57:50 +0100 |
commit | 9fd3d3a4307283a1d85d9a383223055954b7135f (patch) | |
tree | 8172bfa2eb9d863ce9c22ee284a35f7dfed62786 /arch | |
parent | Merge branch 'ipv6_tunnel_iflink_init' (diff) | |
download | linux-9fd3d3a4307283a1d85d9a383223055954b7135f.tar.xz linux-9fd3d3a4307283a1d85d9a383223055954b7135f.zip |
sfc: don't BUG_ON efx->max_channels == 0 in probe
efx_ef10_probe() was BUGging out if the BAR2 size was 0. This is
unnecessarily violent; instead we should just fail to probe the device.
Kept a WARN_ON as this problem indicates a broken or misconfigured NIC.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions