[ath6kl:master-pending 1/3] drivers/net/wireless/ath/ath10k/pci.c:3416:8: error: implicit declaration of function 'ath10k_pci_suspend'

kbuild test robot fengguang.wu at intel.com
Sat Oct 14 18:03:52 PDT 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git master-pending
head:   24588c97ef9a647bfd6da34579e754abfa69a657
commit: cffea3aba814ec5c184fb3fec66f5186eaa03ac6 [1/3] Merge branch 'ath-next'
config: parisc-allmodconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout cffea3aba814ec5c184fb3fec66f5186eaa03ac6
        # save the attached .config to linux build tree
        make.cross ARCH=parisc 

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_pm_suspend':
>> drivers/net/wireless/ath/ath10k/pci.c:3416:8: error: implicit declaration of function 'ath10k_pci_suspend' [-Werror=implicit-function-declaration]
     ret = ath10k_pci_suspend(ar);
           ^~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_pm_resume':
>> drivers/net/wireless/ath/ath10k/pci.c:3428:8: error: implicit declaration of function 'ath10k_pci_resume' [-Werror=implicit-function-declaration]
     ret = ath10k_pci_resume(ar);
           ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/ath10k_pci_suspend +3416 drivers/net/wireless/ath/ath10k/pci.c

5e3dd157 Kalle Valo    2013-06-12  3410  
6af1de2e Arnd Bergmann 2017-09-06  3411  static __maybe_unused int ath10k_pci_pm_suspend(struct device *dev)
32faa3f0 Ryan Hsu      2017-08-31  3412  {
32faa3f0 Ryan Hsu      2017-08-31  3413  	struct ath10k *ar = dev_get_drvdata(dev);
32faa3f0 Ryan Hsu      2017-08-31  3414  	int ret;
32faa3f0 Ryan Hsu      2017-08-31  3415  
96378bd2 Brian Norris  2017-10-04 @3416  	ret = ath10k_pci_suspend(ar);
32faa3f0 Ryan Hsu      2017-08-31  3417  	if (ret)
32faa3f0 Ryan Hsu      2017-08-31  3418  		ath10k_warn(ar, "failed to suspend hif: %d\n", ret);
32faa3f0 Ryan Hsu      2017-08-31  3419  
32faa3f0 Ryan Hsu      2017-08-31  3420  	return ret;
32faa3f0 Ryan Hsu      2017-08-31  3421  }
32faa3f0 Ryan Hsu      2017-08-31  3422  
6af1de2e Arnd Bergmann 2017-09-06  3423  static __maybe_unused int ath10k_pci_pm_resume(struct device *dev)
32faa3f0 Ryan Hsu      2017-08-31  3424  {
32faa3f0 Ryan Hsu      2017-08-31  3425  	struct ath10k *ar = dev_get_drvdata(dev);
32faa3f0 Ryan Hsu      2017-08-31  3426  	int ret;
32faa3f0 Ryan Hsu      2017-08-31  3427  
96378bd2 Brian Norris  2017-10-04 @3428  	ret = ath10k_pci_resume(ar);
32faa3f0 Ryan Hsu      2017-08-31  3429  	if (ret)
32faa3f0 Ryan Hsu      2017-08-31  3430  		ath10k_warn(ar, "failed to resume hif: %d\n", ret);
32faa3f0 Ryan Hsu      2017-08-31  3431  
32faa3f0 Ryan Hsu      2017-08-31  3432  	return ret;
32faa3f0 Ryan Hsu      2017-08-31  3433  }
32faa3f0 Ryan Hsu      2017-08-31  3434  

:::::: The code at line 3416 was first introduced by commit
:::::: 96378bd2c6cda5f04d0f6da2cd35d4670a982c38 ath10k: fix core PCI suspend when WoWLAN is supported but disabled

:::::: TO: Brian Norris <briannorris at chromium.org>
:::::: CC: Kalle Valo <kvalo at qca.qualcomm.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 51311 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20171015/07f614c7/attachment-0001.gz>


More information about the ath10k mailing list