openwrt/package
Shiji Yang f03163adc5 mac80211: fix build error on kernel 6.6
The virtio_find_vqs() ABI has been changed since the 6.11 kernel.
Switch back to using the old ABI to fix the build error:

../mac80211-regular/backports-6.11/drivers/net/wireless/virtual/mac80211_hwsim.c: In function 'init_vqs':
../mac80211-regular/backports-6.11/drivers/net/wireless/virtual/mac80211_hwsim.c:6632:31: error: array type has incomplete element type 'struct virtqueue_info'
 6632 |         struct virtqueue_info vqs_info[HWSIM_NUM_VQS] = {
      |                               ^~~~~~~~
../mac80211-regular/backports-6.11/drivers/net/wireless/virtual/mac80211_hwsim.c:6637:16: error: too few arguments to function 'virtio_find_vqs'
 6637 |         return virtio_find_vqs(vdev, HWSIM_NUM_VQS,
      |                ^~~~~~~~~~~~~~~
In file included from ../mac80211-regular/backports-6.11/drivers/net/wireless/virtual/mac80211_hwsim.c:38:
./include/linux/virtio_config.h:224:5: note: declared here
  224 | int virtio_find_vqs(struct virtio_device *vdev, unsigned nvqs,
      |     ^~~~~~~~~~~~~~~
../mac80211-regular/backports-6.11/drivers/net/wireless/virtual/mac80211_hwsim.c:6632:31: error: unused variable 'vqs_info' [-Werror=unused-variable]
 6632 |         struct virtqueue_info vqs_info[HWSIM_NUM_VQS] = {
      |                               ^~~~~~~~
../mac80211-regular/backports-6.11/drivers/net/wireless/virtual/mac80211_hwsim.c:6639:1: error: control reaches end of non-void function [-Werror=return-type]
 6639 | }
      | ^

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2024-09-27 08:19:19 +02:00
..
base-files base-files: fix merge of passwd/shadow/group lines with trailing colons 2024-08-29 21:07:15 +02:00
boot uboot-kirkwood: fix compilation with GCC14 2024-09-25 22:50:09 +02:00
devel trace-cmd: update to 3.3 2024-08-24 21:26:55 +02:00
firmware linux-firmware: Update to version 20240909 2024-09-23 10:26:46 +02:00
kernel mac80211: fix build error on kernel 6.6 2024-09-27 08:19:19 +02:00
libs openssl: update download mirrors 2024-09-25 23:30:22 +02:00
network comgt: directip: add delegate option support 2024-09-22 23:43:08 +02:00
system rpcd: update to git HEAD 2024-09-17 19:07:53 +01:00
utils ucode: another fix for host installation 2024-09-20 11:47:00 +02:00
Makefile