netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: snmp: Clean up errors in snmp.h
@ 2023-09-28  3:14 KaiLong Wang
  2023-10-02 16:29 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: KaiLong Wang @ 2023-09-28  3:14 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni; +Cc: netdev, linux-kernel

Fix the following errors reported by checkpatch:

ERROR: space required after that ',' (ctx:VxV)
ERROR: spaces required around that '==' (ctx:VxV)

Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
---
 include/net/snmp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/net/snmp.h b/include/net/snmp.h
index 468a67836e2f..92e92bebde2c 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -31,7 +31,7 @@ struct snmp_mib {
 	int entry;
 };
 
-#define SNMP_MIB_ITEM(_name,_entry)	{	\
+#define SNMP_MIB_ITEM(_name, _entry)	{	\
 	.name = _name,				\
 	.entry = _entry,			\
 }
@@ -155,7 +155,7 @@ struct linux_tls_mib {
 	} while (0)
 
 
-#if BITS_PER_LONG==32
+#if BITS_PER_LONG == 32
 
 #define __SNMP_ADD_STATS64(mib, field, addend) 				\
 	do {								\
-- 
2.17.1

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

* Re: [PATCH] net: snmp: Clean up errors in snmp.h
  2023-09-28  3:14 [PATCH] net: snmp: Clean up errors in snmp.h KaiLong Wang
@ 2023-10-02 16:29 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2023-10-02 16:29 UTC (permalink / raw)
  To: KaiLong Wang; +Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel

On Thu, Sep 28, 2023 at 11:14:40AM +0800, KaiLong Wang wrote:
> Fix the following errors reported by checkpatch:
> 
> ERROR: space required after that ',' (ctx:VxV)
> ERROR: spaces required around that '==' (ctx:VxV)
> 
> Signed-off-by: KaiLong Wang <wangkailong@jari.cn>

Hi KaiLong Wang,

unfortunately, patches that only contain checkpatch clean-ups
for Networking code are not accepted.

-- 
pw-bot: rejected

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

end of thread, other threads:[~2023-10-02 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28  3:14 [PATCH] net: snmp: Clean up errors in snmp.h KaiLong Wang
2023-10-02 16:29 ` Simon Horman

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).