linux-next: build warning after merge of the iommu tree

From: Stephen Rothwell
Date: Tue Feb 26 2019 - 21:20:36 EST


Hi Joerg,

After merging the iommu tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

In file included from drivers/pci/pci.c:32:
include/linux/pci-ats.h:70:12: warning: 'pci_prg_resp_pasid_required' defined but not used [-Wunused-function]
static int pci_prg_resp_pasid_required(struct pci_dev *pdev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

e5567f5f6762 ("PCI/ATS: Add pci_prg_resp_pasid_required() interface.")

The non CONFIG_PCI_PASID version needs an "inline".

--
Cheers,
Stephen Rothwell

Attachment: pgp0XA6uuwI_F.pgp
Description: OpenPGP digital signature