linux/drivers/scsi/qla2xxx
Huacai Chen 45dc8f2d9c scsi: qla2xxx: Fix qla2x00_request_irqs() for MSI
Commit 4fa1834559 ("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: 4fa1834559 ("scsi: qla2xxx: Utilize pci_alloc_irq_vectors/pci_free_irq_vectors calls.")
Cc: Michael Hernandez <michael.hernandez@cavium.com>
Link: https://lore.kernel.org/r/1574314847-14280-1-git-send-email-chenhc@lemote.com
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-11-26 21:39:03 -05:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
qla_attr.c scsi: qla2xxx: Capture FW dump on MPI heartbeat stop event 2019-10-09 22:26:35 -04:00
qla_bsg.c scsi: qla2xxx: Enable type checking for the SRB free and done callback functions 2019-08-12 21:34:08 -04:00
qla_bsg.h scsi: qla2xxx: Add 28xx flash primary/secondary status/image mechanism 2019-03-19 12:22:55 -04:00
qla_dbg.c scsi: qla2xxx: Declare the fourth ql_dump_buffer() argument const 2019-08-12 21:34:05 -04:00
qla_dbg.h scsi: qla2xxx: Cleanups for NVRAM/Flash read/write path 2019-03-19 12:22:54 -04:00
qla_def.h scsi: qla2xxx: don't use zero for FC4_PRIORITY_NVME 2019-11-08 21:23:23 -05:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Reduce the number of casts in GID list code 2019-08-12 21:34:05 -04:00
qla_dsd.h scsi: qla2xxx: Include the <asm/unaligned.h> header file from qla_dsd.h 2019-08-12 21:34:04 -04:00
qla_fw.h scsi: qla2xxx: Dual FCP-NVMe target port support 2019-10-09 22:26:34 -04:00
qla_gbl.h scsi: qla2xxx: Fix device connect issues in P2P configuration 2019-11-08 21:15:42 -05:00
qla_gs.c scsi: qla2xxx: unregister ports after GPN_FT failure 2019-11-26 21:33:56 -05:00
qla_init.c scsi: qla2xxx: fix rports not being mark as lost in sync fabric scan 2019-11-26 21:33:17 -05:00
qla_inline.h scsi: qla2xxx: don't use zero for FC4_PRIORITY_NVME 2019-11-08 21:23:23 -05:00
qla_iocb.c scsi: qla2xxx: Fix device connect issues in P2P configuration 2019-11-08 21:15:42 -05:00
qla_isr.c scsi: qla2xxx: Fix qla2x00_request_irqs() for MSI 2019-11-26 21:39:03 -05:00
qla_mbx.c scsi: qla2xxx: Fix SRB leak on switch command timeout 2019-11-08 21:15:41 -05:00
qla_mid.c scsi: qla2xxx: Fix SRB leak on switch command timeout 2019-11-08 21:15:41 -05:00
qla_mr.c scsi: qla2xxx: Complain if sp->done() is not called from the completion path 2019-08-12 21:34:09 -04:00
qla_mr.h scsi: qla2xxx: Introduce the dsd32 and dsd64 data structures 2019-04-29 17:24:51 -04:00
qla_nvme.c scsi: qla2xxx: Fix double scsi_done for abort path 2019-11-08 21:15:42 -05:00
qla_nvme.h scsi: qla2xxx: Modify NVMe include directives 2019-08-12 21:34:08 -04:00
qla_nx2.c scsi: qla2xxx: Suppress a Coveritiy complaint about integer overflow 2019-08-12 21:34:07 -04:00
qla_nx2.h
qla_nx.c scsi: qla2xxx: Fix driver reload for ISP82xx 2019-09-07 15:38:55 -04:00
qla_nx.h scsi: qla2xxx: Improve Linux kernel coding style conformance 2019-08-12 21:34:04 -04:00
qla_os.c Revert "scsi: qla2xxx: Fix memory leak when sending I/O fails" 2019-11-19 21:37:34 -05:00
qla_settings.h
qla_sup.c scsi: qla2xxx: Fix flash read for Qlogic ISPs 2019-09-07 15:38:55 -04:00
qla_target.c Merge branch '5.4/scsi-fixes' into 5.5/scsi-queue 2019-10-09 21:54:04 -04:00
qla_target.h scsi: qla2xxx: Introduce the be_id_t and le_id_t data types for FC src/dst IDs 2019-08-12 21:34:07 -04:00
qla_tmpl.c scsi: qla2xxx: Capture FW dump on MPI heartbeat stop event 2019-10-09 22:26:35 -04:00
qla_tmpl.h scsi: qla2xxx: Correction and improvement to fwdt processing 2019-03-19 12:22:55 -04:00
qla_version.h scsi: qla2xxx: Update driver version to 10.01.00.21-k 2019-11-08 21:15:42 -05:00
tcm_qla2xxx.c scsi: qla2xxx: Make sure that aborted commands are freed 2019-08-12 21:34:08 -04:00
tcm_qla2xxx.h