[ath6kl:pending 29/41] drivers/net//wireless/ath/wil6210/pcie_bus.c:511:2: error: implicit declaration of function 'wil6210_resume'

kbuild test robot fengguang.wu at intel.com
Fri Oct 27 03:51:55 PDT 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   dd08329d31a4c150f8aab8274033901baaf3e923
commit: 7d111dd1ffbf5268e2c17e0e193951cc1795bf5c [29/41] wil6210: run-time PM when interface down
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.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 7d111dd1ffbf5268e2c17e0e193951cc1795bf5c
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers/net//wireless/ath/wil6210/pcie_bus.c: In function 'wil6210_pm_runtime_resume':
>> drivers/net//wireless/ath/wil6210/pcie_bus.c:511:2: error: implicit declaration of function 'wil6210_resume' [-Werror=implicit-function-declaration]
     return wil6210_resume(dev, true);
     ^
   drivers/net//wireless/ath/wil6210/pcie_bus.c: In function 'wil6210_pm_runtime_suspend':
>> drivers/net//wireless/ath/wil6210/pcie_bus.c:524:2: error: implicit declaration of function 'wil6210_suspend' [-Werror=implicit-function-declaration]
     return wil6210_suspend(dev, true);
     ^
   cc1: some warnings being treated as errors

vim +/wil6210_resume +511 drivers/net//wireless/ath/wil6210/pcie_bus.c

   508	
   509	static int wil6210_pm_runtime_resume(struct device *dev)
   510	{
 > 511		return wil6210_resume(dev, true);
   512	}
   513	
   514	static int wil6210_pm_runtime_suspend(struct device *dev)
   515	{
   516		struct pci_dev *pdev = to_pci_dev(dev);
   517		struct wil6210_priv *wil = pci_get_drvdata(pdev);
   518	
   519		if (test_bit(wil_status_suspended, wil->status)) {
   520			wil_dbg_pm(wil, "trying to suspend while suspended\n");
   521			return 1;
   522		}
   523	
 > 524		return wil6210_suspend(dev, true);
   525	}
   526	#endif /* CONFIG_PM */
   527	

---
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: 51703 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20171027/f276eb00/attachment-0001.gz>


More information about the ath10k mailing list