All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath6kl:pending 15/43] drivers/net//wireless/ath/ath10k/pci.c:3416:8: error: implicit declaration of function 'ath10k_pci_suspend'
@ 2017-11-05 12:15 kbuild test robot
  2017-11-07  2:09 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-11-05 12:15 UTC (permalink / raw)
  To: Kalle Valo; +Cc: kbuild-all, ath10k

[-- Attachment #1: Type: text/plain, Size: 3474 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   f651a1484426fb3233a96e643d49d08eda3b1f3c
commit: 5a63b04ed508daf5e208fde74bfcc1b3c848ee86 [15/43] Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
config: alpha-allyesconfig (attached as .config)
compiler: alpha-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 5a63b04ed508daf5e208fde74bfcc1b3c848ee86
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

Note: the ath6kl/pending HEAD f651a1484426fb3233a96e643d49d08eda3b1f3c 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' [-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@chromium.org>
:::::: CC: Kalle Valo <kvalo@qca.qualcomm.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51720 bytes --]

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ath6kl:pending 15/43] drivers/net//wireless/ath/ath10k/pci.c:3416:8: error: implicit declaration of function 'ath10k_pci_suspend'
  2017-11-05 12:15 [ath6kl:pending 15/43] drivers/net//wireless/ath/ath10k/pci.c:3416:8: error: implicit declaration of function 'ath10k_pci_suspend' kbuild test robot
@ 2017-11-07  2:09 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2017-11-07  2:09 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, ath10k

kbuild test robot <fengguang.wu@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
> head:   f651a1484426fb3233a96e643d49d08eda3b1f3c
> commit: 5a63b04ed508daf5e208fde74bfcc1b3c848ee86 [15/43] Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
> config: alpha-allyesconfig (attached as .config)
> compiler: alpha-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 5a63b04ed508daf5e208fde74bfcc1b3c848ee86
>         # save the attached .config to linux build tree
>         make.cross ARCH=alpha 
>
> Note: the ath6kl/pending HEAD f651a1484426fb3233a96e643d49d08eda3b1f3c 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'
>>> [-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

This is fixed by a patch from Brian which I applied later, so we should
be able to ignore this warning.

-- 
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-07  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-05 12:15 [ath6kl:pending 15/43] drivers/net//wireless/ath/ath10k/pci.c:3416:8: error: implicit declaration of function 'ath10k_pci_suspend' kbuild test robot
2017-11-07  2:09 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.