]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: use pci_irq_alloc_vectors and pci_irq_free_vectors
authorChristoph Hellwig <hch@lst.de>
Sun, 12 Feb 2017 21:52:26 +0000 (13:52 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Feb 2017 23:41:42 +0000 (18:41 -0500)
commiteab958c24c3702b44d885ee564041b8fb9ca5ed0
tree61ef34ce3802dfbfba69c24d209a861a38519ef9
parentc495581b57d410c35d2b17662bc96efdad9046dd
scsi: lpfc: use pci_irq_alloc_vectors and pci_irq_free_vectors

This avoids having to store the msix_entries array and simpliefies the
shutdown and cleanup path a lot.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli4.h