Public bug reported:
When trying to build bcmwl using the latest 5.11 HWE-edge kernel on
Ubuntu 20.04 LTS, the kernel module will refuse to build:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:
In function ‘wl_dev_ioctl’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:461:7:
error: implicit declaration of function ‘get_fs’; did you mean ‘get_ds’?
[-Werror=implicit-function-declaration]
461 | fs = get_fs();
| ^~~~~~
| get_ds
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:461:7:
error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:462:2:
error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’?
[-Werror=implicit-function-declaration]
462 | set_fs(get_ds());
| ^~~~~~
| sget_fc
In file included from
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:26:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linuxver.h:600:19:
error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean
‘KERNFS_NS’?
600 | #define get_ds() (KERNEL_DS)
| ^~~~~~~~~
I understand that a fix for this has been rolled out to Hirsuite (0029
-Update-for-set_fs-removal-in-Linux-5.10.patch). Can this fix please be
backported to Focal? Since it fixes the problem for people needing to
run LTS and use the HWE-Edge kernel for any given reason.
** Affects: broadcom-sta (Ubuntu)
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/1933337
Title:
bcmwl fails to build with 5.11 HWE-edge kernel on Ubuntu 20.04 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/1933337/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs