net/mlx4_core: Do not BUG_ON during reset when PCI is offline
authorDaniel Jurgens <danielj@mellanox.com>
Wed, 17 Feb 2016 15:24:25 +0000 (17:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 15:29:26 +0000 (10:29 -0500)
commit22e3817e6c8301dc0520b855c8a2d764580e719c
tree9f471f6835a4fb2c32c5c2202c47786aa2c1aae7
parent6b94bab0ee8d5def6a2aac0ef6204ee6e24386b6
net/mlx4_core: Do not BUG_ON during reset when PCI is offline

The PCI channel could go offline during reset due to EEH.  Don't bug on in
this case, the error is recoverable.

Fixes: f6bc11e42646 ('net/mlx4_core: Enhance the catas flow to support device reset')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/catas.c