generic: net: add pending wireguard patch to fix build with GCC15
authorJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 28 May 2025 11:33:03 +0000 (11:33 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 29 May 2025 21:13:49 +0000 (23:13 +0200)
commita5e6deb867d79f6dd68c616e81205beec94816c7
treee27c058f06782e488b2a59d8f514d39e34b47065
parentd2764bfd7e3bd42233139e4baee31b1264618292
generic: net: add pending wireguard patch to fix build with GCC15

This patch adds __nonstring annotation to address GCC15 with
-Wunterminated-string-initialization.
It is accepted in wireguard-linux in [1] and pending for v6.16
in [2].

[1] https://git.zx2c4.com/wireguard-linux/commit/?h=devel&id=71e5da46e78c1cd24e2feed251a2845327447ad8
[2] https://patch.msgid.link/20250521212707.1767879-3-Jason@zx2c4.com

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18950
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/pending-6.12/152-net-wireguard-add-nonstring-annotation-to-fix-build-with-GCC15.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/152-net-wireguard-add-nonstring-annotation-to-fix-build-with-GCC15.patch [new file with mode: 0644]