Hi Arend,

[auto build test ERROR on mac80211-next/master]
[also build test ERROR on v4.9-rc5 next-20161117]
[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/Arend-van-Spriel/cfg80211-get-rid-of-name-indirection-trick-for-ieee80211_get_channel/20161117-175449
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git 
master
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

   drivers/net/wireless/marvell/mwifiex/cfg80211.c: In function 
'mwifiex_cfg80211_inform_ibss_bss':
>> drivers/net/wireless/marvell/mwifiex/cfg80211.c:2075:9: error: implicit 
>> declaration of function '__ieee80211_get_channel' 
>> [-Werror=implicit-function-declaration]
     chan = __ieee80211_get_channel(priv->wdev.wiphy,
            ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/wireless/marvell/mwifiex/cfg80211.c:2075:7: warning: assignment 
>> makes pointer from integer without a cast [-Wint-conversion]
     chan = __ieee80211_get_channel(priv->wdev.wiphy,
          ^
   cc1: some warnings being treated as errors

vim +/__ieee80211_get_channel +2075 
drivers/net/wireless/marvell/mwifiex/cfg80211.c

5e6e3a92 drivers/net/wireless/mwifiex/cfg80211.c Bing Zhao          2011-03-21  
2069  
5e6e3a92 drivers/net/wireless/mwifiex/cfg80211.c Bing Zhao          2011-03-21  
2070    memcpy(&ie_buf[sizeof(struct ieee_types_header)],
aea0701e drivers/net/wireless/mwifiex/cfg80211.c Yogesh Ashok Powar 2012-03-13  
2071           &bss_info.ssid.ssid, bss_info.ssid.ssid_len);
5e6e3a92 drivers/net/wireless/mwifiex/cfg80211.c Bing Zhao          2011-03-21  
2072    ie_len = ie_buf[1] + sizeof(struct ieee_types_header);
5e6e3a92 drivers/net/wireless/mwifiex/cfg80211.c Bing Zhao          2011-03-21  
2073  
4ed5d521 drivers/net/wireless/mwifiex/cfg80211.c Amitkumar Karwar   2011-09-21  
2074    band = mwifiex_band_to_radio_type(priv->curr_bss_params.band);
4facc34a drivers/net/wireless/mwifiex/cfg80211.c Avinash Patil      2015-01-28 
@2075    chan = __ieee80211_get_channel(priv->wdev.wiphy,
5e6e3a92 drivers/net/wireless/mwifiex/cfg80211.c Bing Zhao          2011-03-21  
2076                    ieee80211_channel_to_frequency(bss_info.bss_chan,
4ed5d521 drivers/net/wireless/mwifiex/cfg80211.c Amitkumar Karwar   2011-09-21  
2077                                                   band));
5e6e3a92 drivers/net/wireless/mwifiex/cfg80211.c Bing Zhao          2011-03-21  
2078  

:::::: The code at line 2075 was first introduced by commit
:::::: 4facc34a1f1d6ba8fafc9afdb84f9c6ed4334c4c mwifiex: do not declare wdev as 
pointer

:::::: TO: Avinash Patil <[email protected]>
:::::: CC: Kalle Valo <[email protected]>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to