lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <55bdec01.8ad.18ad9c80cca.Coremail.wangkailong@jari.cn>
Date:   Thu, 28 Sep 2023 11:14:40 +0800 (GMT+08:00)
From:   "KaiLong Wang" <wangkailong@...i.cn>
To:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] net: snmp: Clean up errors in snmp.h

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@...i.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ