mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
f03163adc5
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> |
||
---|---|---|
.. | ||
000-fix_kconfig.patch | ||
001-fix_build.patch | ||
002-change_allconfig.patch | ||
003-remove_bogus_modparams.patch | ||
004-fix-kconf-compiling.patch | ||
005-fix-kconf-warnings.patch | ||
012-kernel_build_check.patch | ||
070-remove-broken-wext-select.patch | ||
100-backports-drop-QRTR-and-MHI.patch | ||
110-backport_namepace_const.patch | ||
120-headers_version_fix.patch | ||
130-iommu_backport.patch | ||
140-trace_backport.patch | ||
150-ath_iommu_paging_domain_revert.patch | ||
200-iwlwifi_thermal_backport.patch | ||
210-backport_genl_split_ops.patch | ||
220-list-don-t-backport-list_count_nodes.patch | ||
230-brcmfmac_usb_driver_backport.patch | ||
235-fix-init_vqs-build-error-on-kernel-6.6.patch |