ipv6: Clean up errors in ipv6.h

Message ID 1f323424.8ac.18ad9c59948.Coremail.wangkailong@jari.cn
State New
Headers
Series ipv6: Clean up errors in ipv6.h |

Commit Message

KaiLong Wang Sept. 28, 2023, 3:12 a.m. UTC
  Fix the following errors reported by checkpatch:

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

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

Comments

Simon Horman Oct. 2, 2023, 4:28 p.m. UTC | #1
On Thu, Sep 28, 2023 at 11:12:00AM +0800, KaiLong Wang wrote:
> Fix the following errors reported by checkpatch:
> 
> ERROR: space required after 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.
  

Patch

diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index b3444c8a6f74..909e052fe012 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -261,17 +261,17 @@  extern int sysctl_mld_qrv;
 
 /* MIBs */
 
-#define IP6_INC_STATS(net, idev,field)		\
+#define IP6_INC_STATS(net, idev, field)		\
 		_DEVINC(net, ipv6, , idev, field)
-#define __IP6_INC_STATS(net, idev,field)	\
+#define __IP6_INC_STATS(net, idev, field)	\
 		_DEVINC(net, ipv6, __, idev, field)
-#define IP6_ADD_STATS(net, idev,field,val)	\
+#define IP6_ADD_STATS(net, idev, field, val)	\
 		_DEVADD(net, ipv6, , idev, field, val)
-#define __IP6_ADD_STATS(net, idev,field,val)	\
+#define __IP6_ADD_STATS(net, idev, field, val)	\
 		_DEVADD(net, ipv6, __, idev, field, val)
-#define IP6_UPD_PO_STATS(net, idev,field,val)   \
+#define IP6_UPD_PO_STATS(net, idev, field, val)   \
 		_DEVUPD(net, ipv6, , idev, field, val)
-#define __IP6_UPD_PO_STATS(net, idev,field,val)   \
+#define __IP6_UPD_PO_STATS(net, idev, field, val)   \
 		_DEVUPD(net, ipv6, __, idev, field, val)
 #define ICMP6_INC_STATS(net, idev, field)	\
 		_DEVINCATOMIC(net, icmpv6, , idev, field)