commit | 07b1b91412c801030752da3d32a543c5522a79d6 | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Wed Aug 14 16:56:58 2019 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Aug 19 22:41:11 2019 -0400 |
tree | ead1b7797be42b3081a627c42e465563a7fe2148 | |
parent | 6a224b47fd019d299037e14381ddff438f2d34c8 [diff] |
scsi: lpfc: Fix sli4 adapter initialization with MSI When forcing the use of MSI (vs MSI-X) the driver is crashing in pci_irq_get_affinity. The driver was not using the new pci_alloc_irq_vectors interface in the MSI path. Fix by using pci_alloc_irq_vectors() with PCI_RQ_MSI in the MSI path. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>