linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mac80211-next:master 6/25] drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3400:3: error: 'struct cfg80211_ops' has no member named 'mgmt_frame_register'
@ 2020-04-24 15:05 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-24 15:05 UTC (permalink / raw)
  To: Johannes Berg; +Cc: kbuild-all, linux-wireless, Sergey Matyukevich

[-- Attachment #1: Type: text/plain, Size: 5298 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
head:   b6b5c42e3bab939d357d800fd313e3c995164065
commit: 6cd536fe62ef58d7c4eac2da07ab0ed7fd19010d [6/25] cfg80211: change internal management frame registration API
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 6cd536fe62ef58d7c4eac2da07ab0ed7fd19010d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3400:3: error: 'struct cfg80211_ops' has no member named 'mgmt_frame_register'
    3400 |  .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
         |   ^~~~~~~~~~~~~~~~~~~
>> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3400:25: error: initialization of 'int (*)(struct wiphy *, struct wireless_dev *, u64)' {aka 'int (*)(struct wiphy *, struct wireless_dev *, long long unsigned int)'} from incompatible pointer type 'void (*)(struct wiphy *, struct wireless_dev *, u16,  bool)' {aka 'void (*)(struct wiphy *, struct wireless_dev *, short unsigned int,  _Bool)'} [-Werror=incompatible-pointer-types]
    3400 |  .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3400:25: note: (near initialization for 'rtw_cfg80211_ops.mgmt_tx_cancel_wait')
   cc1: some warnings being treated as errors

vim +3400 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c

554c0a3abf216c Hans de Goede 2017-03-29  3365  
554c0a3abf216c Hans de Goede 2017-03-29  3366  static struct cfg80211_ops rtw_cfg80211_ops = {
554c0a3abf216c Hans de Goede 2017-03-29  3367  	.change_virtual_intf = cfg80211_rtw_change_iface,
554c0a3abf216c Hans de Goede 2017-03-29  3368  	.add_key = cfg80211_rtw_add_key,
554c0a3abf216c Hans de Goede 2017-03-29  3369  	.get_key = cfg80211_rtw_get_key,
554c0a3abf216c Hans de Goede 2017-03-29  3370  	.del_key = cfg80211_rtw_del_key,
554c0a3abf216c Hans de Goede 2017-03-29  3371  	.set_default_key = cfg80211_rtw_set_default_key,
554c0a3abf216c Hans de Goede 2017-03-29  3372  	.get_station = cfg80211_rtw_get_station,
554c0a3abf216c Hans de Goede 2017-03-29  3373  	.scan = cfg80211_rtw_scan,
554c0a3abf216c Hans de Goede 2017-03-29  3374  	.set_wiphy_params = cfg80211_rtw_set_wiphy_params,
554c0a3abf216c Hans de Goede 2017-03-29  3375  	.connect = cfg80211_rtw_connect,
554c0a3abf216c Hans de Goede 2017-03-29  3376  	.disconnect = cfg80211_rtw_disconnect,
554c0a3abf216c Hans de Goede 2017-03-29  3377  	.join_ibss = cfg80211_rtw_join_ibss,
554c0a3abf216c Hans de Goede 2017-03-29  3378  	.leave_ibss = cfg80211_rtw_leave_ibss,
554c0a3abf216c Hans de Goede 2017-03-29  3379  	.set_tx_power = cfg80211_rtw_set_txpower,
554c0a3abf216c Hans de Goede 2017-03-29  3380  	.get_tx_power = cfg80211_rtw_get_txpower,
554c0a3abf216c Hans de Goede 2017-03-29  3381  	.set_power_mgmt = cfg80211_rtw_set_power_mgmt,
554c0a3abf216c Hans de Goede 2017-03-29  3382  	.set_pmksa = cfg80211_rtw_set_pmksa,
554c0a3abf216c Hans de Goede 2017-03-29  3383  	.del_pmksa = cfg80211_rtw_del_pmksa,
554c0a3abf216c Hans de Goede 2017-03-29  3384  	.flush_pmksa = cfg80211_rtw_flush_pmksa,
554c0a3abf216c Hans de Goede 2017-03-29  3385  
554c0a3abf216c Hans de Goede 2017-03-29  3386  	.add_virtual_intf = cfg80211_rtw_add_virtual_intf,
554c0a3abf216c Hans de Goede 2017-03-29  3387  	.del_virtual_intf = cfg80211_rtw_del_virtual_intf,
554c0a3abf216c Hans de Goede 2017-03-29  3388  
554c0a3abf216c Hans de Goede 2017-03-29  3389  	.start_ap = cfg80211_rtw_start_ap,
554c0a3abf216c Hans de Goede 2017-03-29  3390  	.change_beacon = cfg80211_rtw_change_beacon,
554c0a3abf216c Hans de Goede 2017-03-29  3391  	.stop_ap = cfg80211_rtw_stop_ap,
554c0a3abf216c Hans de Goede 2017-03-29  3392  
554c0a3abf216c Hans de Goede 2017-03-29  3393  	.add_station = cfg80211_rtw_add_station,
554c0a3abf216c Hans de Goede 2017-03-29  3394  	.del_station = cfg80211_rtw_del_station,
554c0a3abf216c Hans de Goede 2017-03-29  3395  	.change_station = cfg80211_rtw_change_station,
554c0a3abf216c Hans de Goede 2017-03-29  3396  	.dump_station = cfg80211_rtw_dump_station,
554c0a3abf216c Hans de Goede 2017-03-29  3397  	.change_bss = cfg80211_rtw_change_bss,
554c0a3abf216c Hans de Goede 2017-03-29  3398  
554c0a3abf216c Hans de Goede 2017-03-29  3399  	.mgmt_tx = cfg80211_rtw_mgmt_tx,
554c0a3abf216c Hans de Goede 2017-03-29 @3400  	.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
554c0a3abf216c Hans de Goede 2017-03-29  3401  

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

:::::: TO: Hans de Goede <hdegoede@redhat.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 52607 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-24 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 15:05 [mac80211-next:master 6/25] drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:3400:3: error: 'struct cfg80211_ops' has no member named 'mgmt_frame_register' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).