Closed metent closed 2 years ago
Please test #39950 39950
Doesn't seem to fix. It still dumps the (exactly) same warning. I previously installed the package from the repository mistakenly. The package in the master branch compiles fine but the dkms module fails to build. Log:
DKMS make.log for wl-6.30.223.271 for kernel 5.19.15_1 (x86_64)
Sun Oct 16 13:55:08 IST 2022
make: Entering directory '/usr/src/kernel-headers-5.19.15_1'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /var/lib/dkms/wl/6.30.223.271/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.o
CC [M] /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_iw.o
CC [M] /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.o
In file included from /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:43:
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_set_auth_type':
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.h:59:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
59 | if (wl_dbg_level & WL_DBG_DBG) { \
| ^
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:797:3: note: in expansion of macro 'WL_DBG'
797 | WL_DBG(("network eap\n"));
| ^~~~~~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:798:2: note: here
798 | default:
| ^~~~~~~
In file included from /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:81:
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_iw.h:73: warning: "isprint" redefined
73 | #define isprint(c) bcm_isprint(c)
|
In file included from ./include/linux/string_helpers.h:6,
from ./include/linux/seq_file.h:7,
from ./include/linux/seq_file_net.h:5,
from ./include/net/net_namespace.h:183,
from ./include/linux/netdevice.h:38,
from /var/lib/dkms/wl/6.30.223.271/build/src/include/linuxver.h:69,
from /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
./include/linux/ctype.h:30: note: this is the location of the previous definition
30 | #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
|
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function 'wl_pci_probe':
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:789:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
789 | if ((val & 0x0000ff00) != 0)
| ^~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:791:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
791 | bar1_size = pci_resource_len(pdev, 2);
| ^~~~~~~~~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c: In function 'wl_dump_ver':
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:2104:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
2104 | __DATE__, __TIME__, EPI_VERSION_STR);
| ^~~~~~~~
/var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.c:2104:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
2104 | __DATE__, __TIME__, EPI_VERSION_STR);
| ^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:249: /var/lib/dkms/wl/6.30.223.271/build/src/wl/sys/wl_linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1846: /var/lib/dkms/wl/6.30.223.271/build] Error 2
make: Leaving directory '/usr/src/kernel-headers-5.19.15_1'
Opps, I though the -Wno-date-time
is no longer needed
Please test with newest broadcom-wl-dkms
Patch works flawlessly. Thanks.
Is this a new report?
Yes
System Info
Void 5.19.13_1 x86_64-musl GenuineIntel uptodate FF
Package(s) Affected
broadcom-wl-dkms-6.30.223.271_13
Does a report exist for this bug with the project's home (upstream) and/or another distro?
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1863633.html https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1961801 https://groups.google.com/g/linux.debian.bugs.dist/c/tpvQYOd8Gtc
Expected behaviour
Network driver should not produce dmesg warning dumps.
Actual behaviour
Network driver produces warning dump in dmesg log at boot.
Steps to reproduce
iwd
andbroadcom-wl-dkms
on MacBookAir7,2 .iwd
service.