Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Andreas Beckmann
Fri, 27 Nov 2026 22:10
Bug#1155588: broadcom-sta-dkms: module fails to build for Linux 7.4: error: 'const struct net_device_ops' has no member named 'n...
Author: Andreas Beckmann
Date: Fri, 27 Nov 2026 22:10
Date: Fri, 27 Nov 2026 22:10
52 lines
4241 bytes
4241 bytes
Package: broadcom-sta-dkms
Version: 6.30.223.271-32
Severity: important
Tags: upstream
Hi,
broadcom-sta-dkms fails to build a module for Linux 7.4 in experimental:
DKMS (dkms-3.2.2) make.log for broadcom-sta/6.30.223.271 for kernel 7.4-amd64 (x86_64)
Thu Nov 26 16:46:18 UTC 2026
Building module(s)
# command: make -j14 KERNELRELEASE=7.4-amd64 KVER=7.4-amd64
CFG80211 API is prefered for this kernel version
Makefile:91: Neither CFG80211 nor Wireless Extension is enabled in kernel
KBUILD_NOPEDANTIC=1 make -C /lib/modules/7.4-amd64/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-7.4-amd64'
make[2]: Entering directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
CC [M] src/shared/linux_osl.o
CC [M] src/wl/sys/wl_linux.o
CC [M] src/wl/sys/wl_iw.o
CC [M] src/wl/sys/wl_cfg80211_hybrid.o
src/wl/sys/wl_linux.c:460:10: error: 'const struct net_device_ops' has no member named 'ndo_do_ioctl'; did you mean 'ndo_eth_ioctl'?
460 | .ndo_do_ioctl = wl_ioctl
| ^~~~~~~~~~~~
| ndo_eth_ioctl
src/wl/sys/wl_linux.c:460:25: error: initialization of 'int (*)(struct net_device *, struct netdev_hw_addr_list *, struct netdev_hw_addr_list *)' from incompatible pointer type 'int (*)(struct net_device *, struct ifreq *, int)' [-Wincompatible-pointer-types]
460 | .ndo_do_ioctl = wl_ioctl
| ^~~~~~~~
src/wl/sys/wl_linux.c:460:25: note: (near initialization for 'wl_netdev_ops.ndo_set_rx_mode_async')
In file included from src/wl/sys/wl_linux.c:92:
././src/wl/sys/wl_linux.h:190:13: note: 'wl_ioctl' declared here
190 | extern int wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
| ^~~~~~~~
src/wl/sys/wl_linux.c:467:10: error: 'const struct net_device_ops' has no member named 'ndo_do_ioctl'; did you mean 'ndo_eth_ioctl'?
467 | .ndo_do_ioctl = wl_ioctl
| ^~~~~~~~~~~~
| ndo_eth_ioctl
src/wl/sys/wl_linux.c:467:25: error: initialization of 'int (*)(struct net_device *, __be16, u16)' {aka 'int (*)(struct net_device *, short unsigned int, short unsigned int)'} from incompatible pointer type 'int (*)(struct net_device *, struct ifreq *, int)' [-Wincompatible-pointer-types]
467 | .ndo_do_ioctl = wl_ioctl
| ^~~~~~~~
...
The ndo_do_ioctl member of net_device_ops has been removed by Linux
commit "net: remove ndo_do_ioctl handler"
(d98a52ae914e9fef700047f1eca486087abb13db) in v7.4-rc1
Andreas
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads