diff options
author | James Smart <jsmart2021@gmail.com> | 2019-08-14 16:56:58 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-19 22:41:11 -0400 |
commit | 07b1b91412c801030752da3d32a543c5522a79d6 (patch) | |
tree | ead1b7797be42b3081a627c42e465563a7fe2148 /drivers/cdrom | |
parent | 6a224b47fd019d299037e14381ddff438f2d34c8 (diff) | |
download | linux-07b1b91412c801030752da3d32a543c5522a79d6.tar.bz2 |
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>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions