Commit 16517829 authored by Huang Pei's avatar Huang Pei Committed by David S. Miller

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: default avatarHuang Pei <huangpei@loongson.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 03a000bf
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
#define AX_MTU 236 #define AX_MTU 236
/* some arch define END as assembly function ending, just undef it */
#undef END
/* SLIP/KISS protocol characters. */ /* SLIP/KISS protocol characters. */
#define END 0300 /* indicates end of frame */ #define END 0300 /* indicates end of frame */
#define ESC 0333 /* indicates byte stuffing */ #define ESC 0333 /* indicates byte stuffing */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment