[PATCH 06/16] wcn36xx: Fetch private sta data from sta entry instead of from vif

kbuild test robot lkp at intel.com
Tue Mar 29 10:01:13 PDT 2016


Hi Pontus,

[auto build test ERROR on wireless-drivers/master]
[also build test ERROR on v4.6-rc1 next-20160329]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Bjorn-Andersson/Misc-wcn36xx-fixes/20160329-141847
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git master
config: sparc64-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

Note: the linux-review/Bjorn-Andersson/Misc-wcn36xx-fixes/20160329-141847 HEAD 8303daac889854237207e7caefaea94fee0b87f2 builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/wcn36xx/main.c: In function 'wcn36xx_set_key':
>> drivers/net/wireless/ath/wcn36xx/main.c:389:9: error: implicit declaration of function 'wcn36xx_sta_to_priv' [-Werror=implicit-function-declaration]
     struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
            ^
>> drivers/net/wireless/ath/wcn36xx/main.c:389:33: warning: initialization makes pointer from integer without a cast
     struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
                                    ^
   cc1: some warnings being treated as errors

vim +/wcn36xx_sta_to_priv +389 drivers/net/wireless/ath/wcn36xx/main.c

   383				   struct ieee80211_vif *vif,
   384				   struct ieee80211_sta *sta,
   385				   struct ieee80211_key_conf *key_conf)
   386	{
   387		struct wcn36xx *wcn = hw->priv;
   388		struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif);
 > 389		struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
   390		int ret = 0;
   391		u8 key[WLAN_MAX_KEY_LEN];
   392	

---
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/octet-stream
Size: 45816 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/wcn36xx/attachments/20160330/c49cc21e/attachment-0001.obj>


More information about the wcn36xx mailing list