Messages in this thread | | | Date | Tue, 28 Apr 2020 12:29:30 +1000 | From | Stephen Rothwell <> | Subject | linux-next: build failure after merge of the mac80211-next tree |
| |
Hi all,
After merging the mac80211-next tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/staging/wilc1000/cfg80211.c:1668:3: error: 'const struct cfg80211_ops' has no member named 'mgmt_frame_register' 1668 | .mgmt_frame_register = wilc_mgmt_frame_register, | ^~~~~~~~~~~~~~~~~~~ drivers/staging/wilc1000/cfg80211.c:1668: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] 1668 | .mgmt_frame_register = wilc_mgmt_frame_register, | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/staging/wilc1000/cfg80211.c:1668:25: note: (near initialization for 'wilc_cfg80211_ops.mgmt_tx_cancel_wait') cc1: some warnings being treated as errors 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')
Caused by commit
6cd536fe62ef ("cfg80211: change internal management frame registration API")
I have used the mac80211-next from next-20200424 for today.
-- Cheers, Stephen Rothwell [unhandled content-type:application/pgp-signature] | |