tree:   
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head:   f450c3063cab84ac09ee89bca35eaf1356257864
commit: 3b5d5fb32a22ad019ba0e9012bd7e70020f639b6 [20/49] Merge remote-tracking 
branch 'staging/staging-next' into renesas-drivers
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 3b5d5fb32a22ad019ba0e9012bd7e70020f639b6
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 
'rtw_cfg80211_indicate_connect':
>> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:552:6: error: passing 
>> argument 2 of 'cfg80211_roamed' from incompatible pointer type 
>> [-Werror=incompatible-pointer-types]
       , notify_channel
         ^~~~~~~~~~~~~~
   In file included from 
drivers/staging/rtl8723bs/include/osdep_service_linux.h:50:0,
                    from drivers/staging/rtl8723bs/include/osdep_service.h:23,
                    from drivers/staging/rtl8723bs/include/drv_types.h:29,
                    from drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:17:
   include/net/cfg80211.h:5435:6: note: expected 'struct cfg80211_roam_info *' 
but argument is of type 'struct ieee80211_channel *'
    void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info 
*info,
         ^~~~~~~~~~~~~~~
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:553:6: warning: passing 
argument 3 of 'cfg80211_roamed' makes integer from pointer without a cast 
[-Wint-conversion]
       , cur_network->network.MacAddress
         ^~~~~~~~~~~
   In file included from 
drivers/staging/rtl8723bs/include/osdep_service_linux.h:50:0,
                    from drivers/staging/rtl8723bs/include/osdep_service.h:23,
                    from drivers/staging/rtl8723bs/include/drv_types.h:29,
                    from drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:17:
   include/net/cfg80211.h:5435:6: note: expected 'gfp_t {aka unsigned int}' but 
argument is of type 'unsigned char *'
    void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info 
*info,
         ^~~~~~~~~~~~~~~
>> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:551:3: error: too many 
>> arguments to function 'cfg80211_roamed'
      cfg80211_roamed(padapter->pnetdev
      ^~~~~~~~~~~~~~~
   In file included from 
drivers/staging/rtl8723bs/include/osdep_service_linux.h:50:0,
                    from drivers/staging/rtl8723bs/include/osdep_service.h:23,
                    from drivers/staging/rtl8723bs/include/drv_types.h:29,
                    from drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:17:
   include/net/cfg80211.h:5435:6: note: declared here
    void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info 
*info,
         ^~~~~~~~~~~~~~~
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function 
'rtw_cfg80211_preinit_wiphy':
>> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3409:18: error: 
>> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' undeclared (first use in this function)
     wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3409:18: note: each 
undeclared identifier is reported only once for each function it appears in
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: At top level:
>> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3426:25: error: 
>> initialization from incompatible pointer type 
>> [-Werror=incompatible-pointer-types]
     .change_virtual_intf = cfg80211_rtw_change_iface,
                            ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3426:25: note: (near 
initialization for 'rtw_cfg80211_ops.change_virtual_intf')
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3445:22: error: 
initialization from incompatible pointer type 
[-Werror=incompatible-pointer-types]
     .add_virtual_intf = cfg80211_rtw_add_virtual_intf,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3445:22: note: (near 
initialization for 'rtw_cfg80211_ops.add_virtual_intf')
   cc1: some warnings being treated as errors

vim +/cfg80211_roamed +552 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c

554c0a3a Hans de Goede 2017-03-29  545  
554c0a3a Hans de Goede 2017-03-29  546                  freq = 
rtw_ieee80211_channel_to_frequency(channel, NL80211_BAND_2GHZ);
554c0a3a Hans de Goede 2017-03-29  547  
554c0a3a Hans de Goede 2017-03-29  548                  notify_channel = 
ieee80211_get_channel(wiphy, freq);
554c0a3a Hans de Goede 2017-03-29  549  
554c0a3a Hans de Goede 2017-03-29  550                  DBG_871X(FUNC_ADPT_FMT" 
call cfg80211_roamed\n", FUNC_ADPT_ARG(padapter));
554c0a3a Hans de Goede 2017-03-29 @551                  
cfg80211_roamed(padapter->pnetdev
554c0a3a Hans de Goede 2017-03-29 @552                          , notify_channel
554c0a3a Hans de Goede 2017-03-29  553                          , 
cur_network->network.MacAddress
554c0a3a Hans de Goede 2017-03-29  554                          , 
pmlmepriv->assoc_req+sizeof(struct ieee80211_hdr_3addr)+2
554c0a3a Hans de Goede 2017-03-29  555                          , 
pmlmepriv->assoc_req_len-sizeof(struct ieee80211_hdr_3addr)-2

:::::: The code at line 552 was first introduced by commit
:::::: 554c0a3abf216c991c5ebddcdb2c08689ecd290b staging: Add rtl8723bs sdio 
wifi driver

:::::: TO: Hans de Goede <[email protected]>
:::::: CC: Greg Kroah-Hartman <[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