You have been subscribed to a public bug:

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: bcmwl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
bcmwl fails to build with 5.11 HWE-edge kernel on Ubuntu 20.04 LTS
https://bugs.launchpad.net/bugs/1933337
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to bcmwl in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to