prplos/package/kernel
Stefan Kalscheuer cd11c85ba5 mwlwifi: add pending patch to fix compilation with kernel 6.6.109+
Building against recent kernel versions (noticed with 6.12) and -Werror
can fail because a macro MAX(a,b) is already defined in minmax.h or
kernel.h before 5.10.

Initially noticed on 6.12, but it now happens after the kernel bump to
6.6.109 as well (upstream commit 6183c65)

In file included from ../mwlwifi-2025.02.06~db97edf2/hif/fwcmd.h:23,
                 from ../mwlwifi-2025.02.06~db97edf2/core.c:25:
../mwlwifi-2025.02.06~db97edf2/hif/hostcmd.h:1124: error: "MAX" redefined [-Werror]
 1124 | #define MAX(a, b) (((a) > (b)) ? (a) : (b))
      |         ^~~
In file included from usr/include/mac80211-backport/linux/minmax.h:4,
                 from ./include/linux/kernel.h:27,
                 from usr/include/mac80211-backport/linux/kernel.h:3,
                 from ./include/linux/skbuff.h:13,
                 from usr/include/mac80211-backport/linux/skbuff.h:3,
                 from ./include/linux/if_ether.h:19,
                 from usr/include/mac80211-backport/linux/if_ether.h:3,
                 from ./include/linux/etherdevice.h:20,
                 from usr/include/mac80211-backport/linux/etherdevice.h:3,
                 from ../mwlwifi-2025.02.06~db97edf2/core.c:18:
./include/linux/minmax.h:315: note: this is the location of the previous definition
  315 | #define MAX(a, b) __cmp(max, a, b)
      |         ^~~

Add a pending upstream patch which replaces the MAX(a,b) macro to avoid
conflicts and allow compilation with 6.12 backports

(cherry picked from commit 822bceb1d12bdb08688051ead06e0c4462e7d123)

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Link: https://github.com/openwrt/openwrt/pull/20420
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit a8afcd8fc26fa7b348867f03ed3821167a9e68a8)
2026-07-09 10:57:27 +01:00
..
ath10k-ct ath10k-ct: remove "qcom,coexist-support" property type hack 2025-04-10 20:51:18 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20250430 2025-06-06 12:34:56 +02:00
bcm63xx-cfe bcm63xx-cfe: update to latest version 2025-04-02 19:11:32 +02:00
bpf-headers bpf-headers: fix kernel-$(PKG_PATCHVER) location 2025-07-31 15:27:32 +00:00
button-hotplug
cryptodev-linux cryptodev-linux: change home-page URL 2024-11-28 18:46:59 +00:00
dtc/patches
gpio-button-hotplug treewide: remove THIS_MODULE assignment 2024-11-28 18:46:45 +00:00
gpio-nct5104d treewide: remove THIS_MODULE assignment 2024-11-28 18:46:45 +00:00
lantiq ltq-adsl-mei: check status register before reading mailbox messages 2026-07-09 10:57:24 +01:00
leds-gca230718
leds-ws2812b kernel: ws2812b: use devm for mutex_init 2024-10-06 12:21:51 +02:00
linux airoha: an7581: enable USB support 2026-07-01 15:05:53 +01:00
mac80211 mac80211: Update to version 6.12.52 2026-07-09 10:57:27 +01:00
mt76 mt76: update to Git HEAD (2025-09-15) 2026-07-09 10:57:25 +01:00
mt7621-qtn-rgmii treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
mwlwifi mwlwifi: add pending patch to fix compilation with kernel 6.6.109+ 2026-07-09 10:57:27 +01:00
nat46
qca-nss-dp kernel: qca-nss-dp: add back printing attached PHY-s 2024-05-21 12:29:33 +02:00
qca-ssdk kernel: qca-ssdk: set OF node for the SFP PHY 2024-07-09 12:33:17 +02:00
r8101 kernel: r8101: load module at boot time 2025-04-23 10:22:22 +02:00
r8125 kernel: r8125: update to v9.016.01 2026-07-09 10:57:25 +01:00
r8126 kernel: r8126: update to v10.016.00 2026-07-09 10:57:25 +01:00
r8127 kernel: r8127: update to v11.015.00 2026-07-09 10:57:25 +01:00
r8168 kernel: r8168: add missing flags 2026-07-09 10:57:25 +01:00
rtc-rv5c386a
rtl8812au-ct rtl8812au-ct: fix build with mac80211 6.9.9 backport 2024-07-13 14:25:36 +02:00
trelay
ubnt-ledbar ubnt-ledbar: fix compilation error 2024-10-08 22:24:54 +02:00
ubootenv-nvram treewide: remove THIS_MODULE assignment 2024-11-28 18:46:45 +00:00