netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] hamradio: fix macro redefine warning
@ 2021-11-23 11:07 Huang Pei
  2021-11-23 11:07 ` [PATCH 2/2] slip: " Huang Pei
  2021-11-23 11:50 ` [PATCH 1/2] hamradio: " patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Huang Pei @ 2021-11-23 11:07 UTC (permalink / raw)
  To: netdev, ambrosehua; +Cc: linux-arch, lkp

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>
---
 drivers/net/hamradio/mkiss.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c
index e2b332b54f06..7da2bb8a443c 100644
--- a/drivers/net/hamradio/mkiss.c
+++ b/drivers/net/hamradio/mkiss.c
@@ -31,6 +31,8 @@
 
 #define AX_MTU		236
 
+/* some arch define END as assembly function ending, just undef it */
+#undef	END
 /* SLIP/KISS protocol characters. */
 #define END             0300		/* indicates end of frame	*/
 #define ESC             0333		/* indicates byte stuffing	*/
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] slip: fix macro redefine warning
  2021-11-23 11:07 [PATCH 1/2] hamradio: fix macro redefine warning Huang Pei
@ 2021-11-23 11:07 ` Huang Pei
  2021-11-23 11:50 ` [PATCH 1/2] hamradio: " patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Huang Pei @ 2021-11-23 11:07 UTC (permalink / raw)
  To: netdev, ambrosehua; +Cc: linux-arch, lkp

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>
---
 drivers/net/slip/slip.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/slip/slip.h b/drivers/net/slip/slip.h
index c420e5948522..3d7f88b330c1 100644
--- a/drivers/net/slip/slip.h
+++ b/drivers/net/slip/slip.h
@@ -40,6 +40,8 @@
 					   insmod -oslip_maxdev=nnn	*/
 #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. */
 #define END             0300		/* indicates end of frame	*/
 #define ESC             0333		/* indicates byte stuffing	*/
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] hamradio: fix macro redefine warning
  2021-11-23 11:07 [PATCH 1/2] hamradio: fix macro redefine warning Huang Pei
  2021-11-23 11:07 ` [PATCH 2/2] slip: " Huang Pei
@ 2021-11-23 11:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-11-23 11:50 UTC (permalink / raw)
  To: Huang Pei; +Cc: netdev, ambrosehua, linux-arch, lkp

Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 23 Nov 2021 19:07:48 +0800 you wrote:
> 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>
> ---
>  drivers/net/hamradio/mkiss.c | 2 ++
>  1 file changed, 2 insertions(+)

Here is the summary with links:
  - [1/2] hamradio: fix macro redefine warning
    https://git.kernel.org/netdev/net/c/16517829f2e0
  - [2/2] slip: fix macro redefine warning
    https://git.kernel.org/netdev/net/c/e5b40668e930

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-23 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-23 11:07 [PATCH 1/2] hamradio: fix macro redefine warning Huang Pei
2021-11-23 11:07 ` [PATCH 2/2] slip: " Huang Pei
2021-11-23 11:50 ` [PATCH 1/2] hamradio: " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).