]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd105226f2c65ccf2f6cb831ece4b94e36dca00de
tree1c55dd709973e8d05c93f452a64f2d036ed9146a
parentc85fa605891283b7e7f7987dcb8a7364b40a116e
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