qla2xxx: Fail adapter initialization on load ram failure.
authorChad Dupuis <chad.dupuis@qlogic.com>
Thu, 25 Sep 2014 09:17:03 +0000 (05:17 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Sep 2014 12:25:05 +0000 (14:25 +0200)
commitf261f7aff7badc76b266c6df799446ee24313449
tree1c55dd709973e8d05c93f452a64f2d036ed9146a
parent61d41f610debd557b1c451338fa0afaac9dd8719
qla2xxx: Fail adapter initialization on load ram failure.

If we fail to load one of the segments of firmware fail the operation
instead of trying to continue which will lead to a system crash since
the pointers to the next segment will not be updated correctly.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_init.c