kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipv6: add spaces for accept_ra_min_hop_limit
@ 2021-08-29  5:35 jiwonaid0
  2021-08-29 17:01 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: jiwonaid0 @ 2021-08-29  5:35 UTC (permalink / raw)
  To: davem
  Cc: yoshfuji, dsahern, kuba, netdev, linux-kernel, kernel-janitors,
	Jiwon Kim

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

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,
--
2.25.1


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

* Re: [PATCH] ipv6: add spaces for accept_ra_min_hop_limit
  2021-08-29  5:35 [PATCH] ipv6: add spaces for accept_ra_min_hop_limit jiwonaid0
@ 2021-08-29 17:01 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2021-08-29 17:01 UTC (permalink / raw)
  To: jiwonaid0; +Cc: yoshfuji, dsahern, kuba, netdev, linux-kernel, kernel-janitors

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.


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

end of thread, other threads:[~2021-08-29 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-29  5:35 [PATCH] ipv6: add spaces for accept_ra_min_hop_limit jiwonaid0
2021-08-29 17:01 ` David Miller

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