[sound:for-next 37/38] include/linux/pci.h:2317:13: error: 'pci_pr3_present' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
head:   bacd861452d2be86a4df341b12e32db7dac8021e
commit: 52525b7a3cf82adec5c6cf0ecbd23ff228badc94 [37/38] PCI: Add a helper 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/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 52525b7a3cf82adec5c6cf0ecbd23ff228badc94
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=sparc64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from arch/sparc/kernel/iommu.c:20:0:
>> include/linux/pci.h:2317:13: error: 'pci_pr3_present' defined but not used [-Werror=unused-function]
    static bool pci_pr3_present(struct pci_dev *pdev) { return false; }
                ^~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/pci_pr3_present +2317 include/linux/pci.h

  2310	
  2311	void
  2312	pci_msi_register_fwnode_provider(struct fwnode_handle *(*fn)(struct device *));
  2313	bool pci_pr3_present(struct pci_dev *pdev);
  2314	#else
  2315	static inline struct irq_domain *
  2316	pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) { return NULL; }
> 2317	static bool pci_pr3_present(struct pci_dev *pdev) { return false; }
  2318	#endif
  2319	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux