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

From: sathyanarayanan kuppuswamy
Date: Wed Feb 27 2019 - 13:50:34 EST


Hi,

On 2/26/19 6:20 PM, Stephen Rothwell wrote:
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".
I can submit the fix, but do we need a new patch to fix it or the original patch can be updated ?

--
Sathyanarayanan Kuppuswamy
Linux kernel developer