diff options
author | Huacai Chen <[email protected]> | 2019-11-21 13:40:47 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-11-26 21:39:03 -0500 |
commit | 45dc8f2d9c94ed74a5e31e63e9136a19a7e16081 (patch) | |
tree | bdcbe288d92e461cbc7b9e0c2964114dd0bd82a1 /kernel/bpf/stackmap.c | |
parent | c8a347931869bf4373bfd4036d297b8e11ab48ab (diff) |
scsi: qla2xxx: Fix qla2x00_request_irqs() for MSI
Commit 4fa183455988 ("scsi: qla2xxx: Utilize pci_alloc_irq_vectors/
pci_free_irq_vectors calls.") use pci_alloc_irq_vectors() to replace
pci_enable_msi() but it didn't handle the return value correctly. This bug
make qla2x00 always fail to setup MSI if MSI-X fail, so fix it.
BTW, improve the log message of return value in qla2x00_request_irqs() to
avoid confusion.
Fixes: 4fa183455988 ("scsi: qla2xxx: Utilize pci_alloc_irq_vectors/pci_free_irq_vectors calls.")
Cc: Michael Hernandez <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Huacai Chen <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions