[PATCH v11] ath10k: add LED and GPIO controlling support for various chipsets
kbuild test robot
lkp at intel.com
Sun Feb 25 17:36:42 PST 2018
Hi Sebastian,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.16-rc2 next-20180223]
[cannot apply to ath6kl/ath-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/s-gottschall-dd-wrt-com/ath10k-add-LED-and-GPIO-controlling-support-for-various-chipsets/20180226-064849
base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-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
# save the attached .config to linux build tree
make.cross ARCH=sh
All warnings (new ones prefixed by >>):
In file included from drivers/net/wireless/ath/ath10k/core.c:29:0:
>> drivers/net/wireless/ath/ath10k/core.h:815:13: warning: 'ath10k_unregister_gpio_chip' used but never defined
static void ath10k_unregister_gpio_chip(struct ath10k *ar);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/ath10k_unregister_gpio_chip +815 drivers/net/wireless/ath/ath10k/core.h
813
814 #if IS_ENABLED(CONFIG_ATH10K_LEDS) && IS_ENABLED(CONFIG_GPIOLIB)
> 815 static void ath10k_unregister_gpio_chip(struct ath10k *ar);
816 #else
817 static inline int ath10k_attach_gpio(struct ath10k *ar)
818 {
819 return -ENODEV;
820 }
821 #endif
822 #if IS_ENABLED(CONFIG_ATH10K_LEDS)
823 int ath10k_attach_gpio(struct ath10k *ar);
824 #else
825 static inline void ath10k_unregister_gpio_chip(struct ath10k *ar)
826 {
827
---
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: 48089 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20180226/1be30eeb/attachment-0001.gz>
More information about the ath10k
mailing list