]> git.baikalelectronics.ru Git - kernel.git/commit
bfa: Do not call pci_enable_msix() after it failed once
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 16 Jul 2014 18:05:06 +0000 (20:05 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Jul 2014 12:38:52 +0000 (08:38 -0400)
commita3d013cc72e1b3ee7f8afa1f53e087429ed6d036
tree03e734db3f02b17d242903230e5c490d886e1ca0
parente2920154c2470c9453d331c87402658020ff9859
bfa: Do not call pci_enable_msix() after it failed once

Function pci_enable_msix() should not be called in case
it threw a negative errno from a previous call.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Acked-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/bfa/bfad.c