From 304ab2ac64e88eea38b7b6ca75ba3aed25af774a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 5 Apr 2019 01:04:38 +0000 Subject: [PATCH] qla2x00t-32gbit: Fix qla24xx_enable_msix() for kernel versions before v3.14 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8154 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t-32gbit/qla_isr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qla2x00t-32gbit/qla_isr.c b/qla2x00t-32gbit/qla_isr.c index ad0d46b49..43036ae6b 100644 --- a/qla2x00t-32gbit/qla_isr.c +++ b/qla2x00t-32gbit/qla_isr.c @@ -3532,6 +3532,8 @@ msix_failed: goto msix_out; } ha->max_rsp_queues = ha->msix_count - 1; + } else { + ret = ha->msix_count; } #elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) ret = pci_enable_msix_range(ha->pdev,