]> git.baikalelectronics.ru Git - kernel.git/commit
megaraid: Fail resume if MSI-X re-initialization failed
authorAlexander Gordeev <agordeev@redhat.com>
Mon, 18 Aug 2014 06:01:43 +0000 (08:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:09:40 +0000 (09:09 -0700)
commitd7e213ee905397e538a8bd76b2af50e7ee775409
tree0b14ad009a2f0d80d3ce9c560d47b02299816ad7
parentf1042ed7b05ff7d0c99bdf884fdc7654b3b8d9a2
megaraid: Fail resume if MSI-X re-initialization failed

Currently the driver fails to analize MSI-X re-enablement
status on resuming and always assumes the success. This
update checks the MSI-X initialization result and fails
to resume if MSI-Xs re-enablement failed.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Acked-by: Kashyap Desai <Kashyap.desai@avagotech.com>
Cc: Neela Syam Kolli <megaraidlinux@lsi.com>
Cc: linux-scsi@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/megaraid/megaraid_sas_base.c