Re: [PATCH 2/3] staging: rtl8723bs: merge fix for "nl80211: allow multiple active scheduled scan requests"

From: kbuild test robot
Date: Sat May 06 2017 - 16:29:09 EST


Hi Stephen,

[auto build test ERROR on staging/staging-testing]
[cannot apply to v4.11 next-20170505]
[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/Greg-KH/staging-rtl8723bs-merge-fix-for-add-change_virtual-intf-API-change/20170507-034455
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
# 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_preinit_wiphy':
>> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3409:7: error: 'struct wiphy' has no member named 'max_sched_scan_reqs'; did you mean 'max_sched_scan_ssids'?
wiphy->max_sched_scan_reqs = 1;
^~
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 +3409 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c

3403 wiphy->bands[NL80211_BAND_2GHZ] = rtw_spt_band_alloc(NL80211_BAND_2GHZ);
3404
3405 wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
3406 wiphy->flags |= WIPHY_FLAG_OFFCHAN_TX | WIPHY_FLAG_HAVE_AP_SME;
3407
3408 #if defined(CONFIG_PM)
> 3409 wiphy->max_sched_scan_reqs = 1;
3410 #ifdef CONFIG_PNO_SUPPORT
3411 wiphy->max_sched_scan_ssids = MAX_PNO_LIST_COUNT;
3412 #endif

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

Attachment: .config.gz
Description: application/gzip