summaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio
diff options
context:
space:
mode:
authorHuang Pei <huangpei@loongson.cn>2021-11-23 12:07:48 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-23 12:38:13 +0100
commit16517829f2e02f096fb5ea9083d160381127faf3 (patch)
tree53a7778262e51b9eb40a2f6f124082705349e241 /drivers/net/hamradio
parentMerge branch 'nh-group-refcnt' (diff)
downloadlinux-16517829f2e02f096fb5ea9083d160381127faf3.tar.xz
linux-16517829f2e02f096fb5ea9083d160381127faf3.zip
hamradio: fix macro redefine warning
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>
Diffstat (limited to 'drivers/net/hamradio')
-rw-r--r--drivers/net/hamradio/mkiss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c
index e2b332b54f06..7da2bb8a443c 100644
--- 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 */