Public bug reported:
1. in v7.1-rc1 commit 033fe322f585 ("wifi: nl80211/cfg80211: support
stations of non-netdev interfaces") updates the ABI of struct
cfg80211_ops::get_station and other station related APIs:
src/wl/sys/wl_cfg80211_hybrid.c:1859:24: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, const u8 *, struct station_info *)’
{aka ‘int (*)(struct wiphy *, struct wireless_dev *, const unsigned char *,
struct station_info *)’} from incompatible pointer type ‘s32 (*)(struct wiphy
*, struct net_device *, const u8 *, struct station_info *)’ {aka ‘int
(*)(struct wiphy *, struct net_device *, const unsigned char *, struct
station_info *)’} [-Wincompatible-pointer-types]
1859 | .get_station = wl_cfg80211_get_station,
| ^~~~~~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1859:24: note: (near initialization for
‘wl_cfg80211_ops.get_station’)
src/wl/sys/wl_cfg80211_hybrid.c:1495:1: note: ‘wl_cfg80211_get_station’
declared here
1495 | wl_cfg80211_get_station(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~
2. in v7.1-rc1 commit 7c6084d7fa4e6 ("wifi: cfg80211: support key
installation on non-netdev wdevs") updates ABI of struct
cfg80211_ops::add_key, get_key and del_key:
src/wl/sys/wl_cfg80211_hybrid.c:1862:20: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, int, u8, bool, const u8 *, struct
key_params *)’ {aka ‘int (*)(struct wiphy *, struct wireless_dev *, int,
unsigned char, _Bool, const unsigned char *, struct key_params *)’} from
incompatible pointer type ‘s32 (*)(struct wiphy *, struct net_device *, int,
u8, bool, const u8 *, struct key_params *)’ {aka ‘int (*)(struct wiphy *,
struct net_device *, int, unsigned char, _Bool, const unsigned char *,
struct key_params *)’} [-Wincompatible-pointer-types]
1862 | .add_key = wl_cfg80211_add_key,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1862:20: note: (near initialization for
‘wl_cfg80211_ops.add_key’)
src/wl/sys/wl_cfg80211_hybrid.c:1245:1: note: ‘wl_cfg80211_add_key’ declared
here
1245 | wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1863:20: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, int, u8, bool, const u8 *)’ {aka
‘int (*)(struct wiphy *, struct wireless_dev *, int, unsigned char, _Bool,
const unsigned char *)’} from incompatible pointer type ‘s32 (*)(struct wiphy
*, struct net_device *, int, u8, bool, const u8 *)’ {aka ‘int (*)(struct
wiphy *, struct net_device *, int, unsigned char, _Bool, const unsigned char
*)’} [-Wincompatible-pointer-types]
1863 | .del_key = wl_cfg80211_del_key,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1864:20: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, int, u8, bool, const u8 *, void
*, void (*)(void *, struct key_params *))’ {aka ‘int (*)(struct wiphy *, struct
wireless_dev *, int, unsigned char, _Bool, const unsigned char *, void *,
void (*)(void *, struct key_params *))’} from incompatible pointer type ‘s32
(*)(struct wiphy *, struct net_device *, int, u8, bool, const u8 *, void *,
void (*)(void *, struct key_params *))’ {aka ‘int (*)(struct wiphy *, struct
net_device *, int, unsigned char, _Bool, const unsigned char *, void *, void
(*)(void *, struct key_params *))’} [-Wincompatible-pointer-types]
1864 | .get_key = wl_cfg80211_get_key,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1864:20: note: (near initialization for
‘wl_cfg80211_ops.get_key’)
src/wl/sys/wl_cfg80211_hybrid.c:1418:1: note: ‘wl_cfg80211_get_key’ declared
here
1418 | wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~
** Affects: broadcom-sta (Ubuntu)
Importance: Undecided
Status: New
** Affects: broadcom-sta (Ubuntu Stonking)
Importance: Undecided
Status: New
** Attachment added: "make.log"
https://bugs.launchpad.net/bugs/2158912/+attachment/5979760/+files/make.log
** Also affects: broadcom-sta (Ubuntu Stonking)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158912
Title:
Failed to build against linux-7.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2158912/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs