Content-Type: multipart/mixed; boundary="===============0527219663913813861==" MIME-Version: 1.0 From: Takashi Iwai To: kbuild-all@lists.01.org Subject: Re: [sound:for-next 37/38] include/linux/pci.h:2317:13: error: 'pci_pr3_present' defined but not used Date: Mon, 21 Oct 2019 16:28:38 +0200 Message-ID: In-Reply-To: <201910212111.qHm6OcWx%lkp@intel.com> List-Id: --===============0527219663913813861== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, 21 Oct 2019 15:58:15 +0200, kbuild test robot wrote: > = > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git f= or-next > head: bacd861452d2be86a4df341b12e32db7dac8021e > commit: 52525b7a3cf82adec5c6cf0ecbd23ff228badc94 [37/38] PCI: Add a helpe= r to check Power Resource Requirements _PR3 existence > config: sparc64-allmodconfig (attached as .config) > compiler: sparc64-linux-gcc (GCC) 7.4.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 52525b7a3cf82adec5c6cf0ecbd23ff228badc94 > # save the attached .config to linux build tree > GCC_VERSION=3D7.4.0 make.cross ARCH=3Dsparc64 = > = > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot Grr, this was due to missing inline. Fixed in below. Takashi -- 8< -- From: Takashi Iwai Subject: [PATCH] PCI: Fix missing inline for pci_pr3_present() The inline prefix was missing in the dummy function pci_pr3_present() definition. Fix it. Reported-by: kbuild test robot Fixes: 52525b7a3cf8 ("PCI: Add a helper to check Power Resource Requirement= s _PR3 existence") Signed-off-by: Takashi Iwai --- include/linux/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index 1d15c5d49cdd..be529d311122 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -2314,7 +2314,7 @@ bool pci_pr3_present(struct pci_dev *pdev); #else static inline struct irq_domain * pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) { return NULL; } -static bool pci_pr3_present(struct pci_dev *pdev) { return false; } +static inline bool pci_pr3_present(struct pci_dev *pdev) { return false; } #endif = #ifdef CONFIG_EEH -- = 2.16.4 --===============0527219663913813861==--