openwrt-mirror/package/kernel
Stefan Kalscheuer 822bceb1d1 mwlwifi: add pending patch to fix compilation with kernel 6.12
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.

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:9: 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:28,
                 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:330:9: note: this is the location of the previous definition
  330 | #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

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Link: https://github.com/openwrt/openwrt/pull/18980
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-03 20:40:54 +02:00
..
ath10k-ct ath10k-ct: update to latest version 6.14 from 2025-04-30 2025-05-07 14:46:26 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20250305 2025-03-15 18:28:15 +01:00
bcm63xx-cfe bcm63xx-cfe: install into image staging dir 2025-04-13 10:44:19 +02:00
bpf-headers bpf-headers: fix kernel-$(PKG_PATCHVER) location 2025-04-23 10:29:14 +02:00
button-hotplug button-hotplug: simplify build 2022-10-24 20:49:34 +02:00
cryptodev-linux cryptodev-linux: change home-page URL 2024-11-12 14:28:36 +01:00
dtc/patches package: kernel: dtc: Add DTO support 2017-11-06 16:39:41 +01:00
gpio-button-hotplug gpio-button-hotplug: convert to .remove_new 2025-04-11 11:21:18 +02:00
gpio-nct5104d treewide: remove THIS_MODULE assignment 2024-11-10 02:16:31 +01:00
lantiq treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
leds-gca230718 kernel: leds-gca230718: remove _remove 2024-12-24 00:23:35 +01:00
leds-ws2812b kernel: ws2812b: use devm for mutex_init 2024-10-06 12:21:51 +02:00
linux package/zram: fix up Kconfig behaviour for kernel 6.12 2025-05-29 22:46:46 +02:00
mac80211 mac80211: allow scanning operating on DFS channels 2025-05-31 16:23:03 +02:00
mt76 mt76: fix build error on 6.12 kernel 2025-05-03 20:16:25 +02: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.12 2025-06-03 20:40:54 +02:00
nat46 nat46: bump to latest git HEAD 2025-04-23 2025-05-10 21:34:25 +02:00
qca-nss-dp qca-nss-dp: update for 6.12 compatibility 2025-05-16 17:57:40 +02:00
qca-ssdk qca-ssdk: update to Git HEAD (2025-05-30) 2025-06-02 22:59:05 +02:00
r8101 kernel: r8101: load module at boot time 2025-04-23 09:14:26 +02:00
r8125 kernel: r8125: rss: enable ENABLE_MULTIPLE_TX_QUEUE 2025-04-23 09:36:46 +02:00
r8126 kernel: r8126: rss: enable ENABLE_MULTIPLE_TX_QUEUE 2025-04-23 09:37:43 +02:00
r8127 kernel: r8127: rss: enable ENABLE_MULTIPLE_TX_QUEUE 2025-04-23 09:38:04 +02:00
r8168 kernel: r8168: add RSS variant 2025-04-23 09:39:24 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct rtl8812au-ct: fix netdevice notifier call warning 2025-05-17 20:57:18 +02:00
trelay kernel: trelay: fix build warning on 6.12 kernel 2025-05-03 20:16:25 +02:00
ubnt-ledbar ubnt-ledbar: fix compilation error 2024-10-08 22:24:54 +02:00
ubootenv-nvram ubootenv-nvram: convert driver to .remove_new 2025-04-11 11:21:20 +02:00