mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
hamradio: fix macro redefine warning
commit 16517829f2 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dcd03efd7e
commit
dbbe09d953
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user