]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Mar 2022 16:42:50 +0000 (17:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Mar 2022 16:42:50 +0000 (17:42 +0100)
added patches:
hamradio-fix-macro-redefine-warning.patch

queue-5.10/hamradio-fix-macro-redefine-warning.patch [new file with mode: 0644]
queue-5.10/series

diff --git a/queue-5.10/hamradio-fix-macro-redefine-warning.patch b/queue-5.10/hamradio-fix-macro-redefine-warning.patch
new file mode 100644 (file)
index 0000000..7aae928
--- /dev/null
@@ -0,0 +1,32 @@
+From 16517829f2e02f096fb5ea9083d160381127faf3 Mon Sep 17 00:00:00 2001
+From: Huang Pei <huangpei@loongson.cn>
+Date: Tue, 23 Nov 2021 19:07:48 +0800
+Subject: hamradio: fix macro redefine warning
+
+From: Huang Pei <huangpei@loongson.cn>
+
+commit 16517829f2e02f096fb5ea9083d160381127faf3 upstream.
+
+MIPS/IA64 define END as assembly function ending, which conflict
+with END definition in mkiss.c, just undef it at first
+
+Reported-by: lkp@intel.com
+Signed-off-by: Huang Pei <huangpei@loongson.cn>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+Cc: Guenter Roeck <linux@roeck-us.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/net/hamradio/mkiss.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/drivers/net/hamradio/mkiss.c
++++ b/drivers/net/hamradio/mkiss.c
+@@ -31,6 +31,8 @@
+ #define AX_MTU                236
++/* some arch define END as assembly function ending, just undef it */
++#undef        END
+ /* SLIP/KISS protocol characters. */
+ #define END             0300          /* indicates end of frame       */
+ #define ESC             0333          /* indicates byte stuffing      */
index f82fe39eac2ec55f10d2b8212cf07399aafd7e73..1d2048bc2981187d74fafe261440d349aa263144 100644 (file)
@@ -102,3 +102,4 @@ btrfs-fix-lost-prealloc-extents-beyond-eof-after-full-fsync.patch
 btrfs-qgroup-fix-deadlock-between-rescan-worker-and-remove-qgroup.patch
 btrfs-add-missing-run-of-delayed-items-after-unlink-during-log-replay.patch
 revert-xfrm-xfrm_state_mtu-should-return-at-least-1280-for-ipv6.patch
+hamradio-fix-macro-redefine-warning.patch