diff mbox series

ipv6: add spaces for accept_ra_min_hop_limit

Message ID 20210829053544.51149-1-jiwonaid0@gmail.com (mailing list archive)
State Rejected
Delegated to: Netdev Maintainers
Headers show
Series ipv6: add spaces for accept_ra_min_hop_limit | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 16 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

Commit Message

Jiwon Kim Aug. 29, 2021, 5:35 a.m. UTC
From: Jiwon Kim <jiwonaid0@gmail.com>

The checkpatch reported
ERROR: spaces required around that '=' (ctx:VxW)
from the net/ipv6/addrconf.c.

So, spaces are added for accept_ra_min_hop_limit.

Signed-off-by: Jiwon Kim <jiwonaid0@gmail.com>
---
 net/ipv6/addrconf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
2.25.1

Comments

David Miller Aug. 29, 2021, 5:01 p.m. UTC | #1
From: jiwonaid0@gmail.com
Date: Sun, 29 Aug 2021 14:35:44 +0900

> From: Jiwon Kim <jiwonaid0@gmail.com>
> 
> The checkpatch reported
> ERROR: spaces required around that '=' (ctx:VxW)
> from the net/ipv6/addrconf.c.
> 
> So, spaces are added for accept_ra_min_hop_limit.
> 
> Signed-off-by: Jiwon Kim <jiwonaid0@gmail.com>

Please don't do this it breaks the vertical alignbment of the right hand side of
the assignments.

Thanks.
diff mbox series

Patch

diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 17756f3ed33b..ce71480a92d9 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -208,7 +208,7 @@  static struct ipv6_devconf ipv6_devconf __read_mostly = {
 	.accept_ra_defrtr	= 1,
 	.ra_defrtr_metric	= IP6_RT_PRIO_USER,
 	.accept_ra_from_local	= 0,
-	.accept_ra_min_hop_limit= 1,
+	.accept_ra_min_hop_limit = 1,
 	.accept_ra_pinfo	= 1,
 #ifdef CONFIG_IPV6_ROUTER_PREF
 	.accept_ra_rtr_pref	= 1,
@@ -267,7 +267,7 @@  static struct ipv6_devconf ipv6_devconf_dflt __read_mostly = {
 	.accept_ra_defrtr	= 1,
 	.ra_defrtr_metric	= IP6_RT_PRIO_USER,
 	.accept_ra_from_local	= 0,
-	.accept_ra_min_hop_limit= 1,
+	.accept_ra_min_hop_limit = 1,
 	.accept_ra_pinfo	= 1,
 #ifdef CONFIG_IPV6_ROUTER_PREF
 	.accept_ra_rtr_pref	= 1,