2023-09-28 03:24:08

by KaiLong Wang

[permalink] [raw]
Subject: [PATCH] ipv6: Clean up errors in ipv6.h

Fix the following errors reported by checkpatch:

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

Signed-off-by: KaiLong Wang <[email protected]>
---
include/net/ipv6.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

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


2023-10-02 16:34:21

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH] ipv6: Clean up errors in ipv6.h

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 <[email protected]>


Hi KaiLong Wang,

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

--
pw-bot: rejected