[ath6kl:pending 15/34] drivers/net//wireless/ath/ath10k/pci.c:3416:8: error: implicit declaration of function 'ath10k_pci_suspend'; did you mean 'ath10k_pci_pm_suspend'?

kbuild test robot fengguang.wu at intel.com
Fri Nov 10 00:05:13 PST 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   10e41e96e53b4aaabaa7c06ec9db03bddad19a22
commit: 5a63b04ed508daf5e208fde74bfcc1b3c848ee86 [15/34] Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
config: alpha-allmodconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 7.2.0-11) 7.2.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 5a63b04ed508daf5e208fde74bfcc1b3c848ee86
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

Note: the ath6kl/pending HEAD 10e41e96e53b4aaabaa7c06ec9db03bddad19a22 builds fine.
      It only hurts bisectibility.

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'; did you mean 'ath10k_pci_pm_suspend'? [-Werror=implicit-function-declaration]
     ret = ath10k_pci_suspend(ar);
           ^~~~~~~~~~~~~~~~~~
           ath10k_pci_pm_suspend
   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'; did you mean 'ath10k_pci_pm_resume'? [-Werror=implicit-function-declaration]
     ret = ath10k_pci_resume(ar);
           ^~~~~~~~~~~~~~~~~
           ath10k_pci_pm_resume
   cc1: some warnings being treated as errors

vim +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: 51576 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20171110/04397c65/attachment-0001.gz>


More information about the ath10k mailing list