Re: [PATCH -next] dmaengine: idxd: fix PCI_MSI build errors

From: Vinod Koul
Date: Wed Jul 15 2020 - 02:04:01 EST


On 14-07-20, 07:58, Dave Jiang wrote:
>
>
> On 7/13/2020 11:35 PM, Randy Dunlap wrote:
> > From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> >
> > Fix build errors when CONFIG_PCI_MSI is not enabled by making the
> > driver depend on PCI_MSI:
> >
> > ld: drivers/dma/idxd/device.o: in function `idxd_mask_msix_vector':
> > device.c:(.text+0x26f): undefined reference to `pci_msi_mask_irq'
> > ld: drivers/dma/idxd/device.o: in function `idxd_unmask_msix_vector':
> > device.c:(.text+0x2af): undefined reference to `pci_msi_unmask_irq'
> >
> > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> > Cc: Dave Jiang <dave.jiang@xxxxxxxxx>
> > Cc: dmaengine@xxxxxxxxxxxxxxx
> > Cc: Vinod Koul <vkoul@xxxxxxxxxx>
>
> Vinod, I submitted this fix patch last week:
> https://patchwork.kernel.org/patch/11649231/
>
> But I think maybe Randy's patch may be more preferable? You can apply this
> one and ignore my submission.

Ok, Applied this one, thanks
--
~Vinod