提交 0afbc4c5 编写于 作者: H Huang Pei 提交者: Zheng Zengkai

hamradio: fix macro redefine warning

stable inclusion
from stable-v5.10.104
commit dbbe09d953773e89d7e9bfb49acd936ddf7d84db
bugzilla: https://gitee.com/openeuler/kernel/issues/I56XAC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=dbbe09d953773e89d7e9bfb49acd936ddf7d84db

--------------------------------

commit 16517829 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: NHuang Pei <huangpei@loongson.cn>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NYu Liao <liaoyu15@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 d30e234e
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册