Search Linux Wireless

Re: [PATCH v11] ath10k: add LED and GPIO controlling support for various chipsets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux