Re: [PATCH v3] staging: kpc2000: Replace depracated MSI APIs

2020-07-20 Thread Dan Carpenter
On Sun, Jul 19, 2020 at 07:42:22PM +0530, Suraj Upadhyay wrote: > Replace depracated MSI IRQ enabler and disabler > with pci_alloc_irq_vectors and pci_free_irq_vectors respectively. > Compile tested. > > Signed-off-by: Suraj Upadhyay > --- > Changes: > v3: Replaced the disabler for MSI IRQ

[PATCH v3] staging: kpc2000: Replace depracated MSI APIs

2020-07-19 Thread Suraj Upadhyay
Replace depracated MSI IRQ enabler and disabler with pci_alloc_irq_vectors and pci_free_irq_vectors respectively. Compile tested. Signed-off-by: Suraj Upadhyay --- Changes: v3: Replaced the disabler for MSI IRQ too with pci_free_irq_vectors. v2: Fix the undefined