qed: Fix error flow on slowpath start
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Wed, 2 Mar 2016 18:26:03 +0000 (20:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:04:18 +0000 (14:04 -0500)
commit8c925c443801721d2731e540055782bcdbbde03b
treea23554e1989923302427ff57a98e36efb6ebc7ee
parent86622ee75312568e9a862b6f023e54b149380b6d
qed: Fix error flow on slowpath start

In case of problems when initializing the chip, the error flows aren't
being properly done. Specifically, it's possible that the chip would be
left in a configuration allowing it [internally] to access the host
memory, causing fatal problems in the device that would require power
cycle to overcome.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_dev_api.h
drivers/net/ethernet/qlogic/qed/qed_main.c