slip: fix macro redefine warning
commit e5b40668e930979bd1e82c7ed7c9029db635f0e4 upstream. MIPS/IA64 define END as assembly function ending, which conflict with END definition in slip.h, 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
efe3167e52
commit
668c821321
@@ -40,6 +40,8 @@
|
|||||||
insmod -oslip_maxdev=nnn */
|
insmod -oslip_maxdev=nnn */
|
||||||
#define SL_MTU 296 /* 296; I am used to 600- FvK */
|
#define SL_MTU 296 /* 296; I am used to 600- FvK */
|
||||||
|
|
||||||
|
/* some arch define END as assembly function ending, just undef it */
|
||||||
|
#undef END
|
||||||
/* SLIP protocol characters. */
|
/* SLIP 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