Skip to content

Commit 1651782

Browse files
mips-hpdavem330
authored andcommitted
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: [email protected] Signed-off-by: Huang Pei <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 03a000b commit 1651782

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/hamradio/mkiss.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131

3232
#define AX_MTU 236
3333

34+
/* some arch define END as assembly function ending, just undef it */
35+
#undef END
3436
/* SLIP/KISS protocol characters. */
3537
#define END 0300 /* indicates end of frame */
3638
#define ESC 0333 /* indicates byte stuffing */

0 commit comments

Comments
 (0)