Skip to contentSkip to conversation

fix whitespace errors found by checkpatch.pl

PATCH In review Kevin Mulvey 2 participants 2 messages Mar 17, 2015

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix whitespace errors found by checkpatch.pl

make checkpatch happier by fixing some whitespace
in ip6_tunnel.c and ip6_vti.c

---
 net/ipv6/ip6_tunnel.c | 2 +-
 net/ipv6/ip6_vti.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
net/ipv6/ip6_tunnel.c +1 -1
index 266a264..892074a 100644
@@ -250,7 +250,7 @@ ip6_tnl_link(struct ip6_tnl_net *ip6n, struct ip6_tnl *t)
 {
 	struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms);
 
-	rcu_assign_pointer(t->next , rtnl_dereference(*tp));
+	rcu_assign_pointer(t->next, rtnl_dereference(*tp));
 	rcu_assign_pointer(*tp, t);
 }
 
net/ipv6/ip6_vti.c +1 -1
index 5fb9e21..48a6bc7 100644
@@ -156,7 +156,7 @@ vti6_tnl_link(struct vti6_net *ip6n, struct ip6_tnl *t)
 {
 	struct ip6_tnl __rcu **tp = vti6_tnl_bucket(ip6n, &t->parms);
 
-	rcu_assign_pointer(t->next , rtnl_dereference(*tp));
+	rcu_assign_pointer(t->next, rtnl_dereference(*tp));
 	rcu_assign_pointer(*tp, t);
 }
 
Signature · 1 line
2.1.0
#1 lore raw

From: Kevin Mulvey <[email protected]>
Date: Tue, 17 Mar 2015 07:54:47 -0400

Quoted 4 lines

make checkpatch happier by fixing some whitespace
in ip6_tunnel.c and ip6_vti.c

Your Subject line should specify a subsystem prefix, followed by a colon character, indicating the area of the kernel where you are making changes.

In this particular case, "ipv6: " would be an appropriate one to use.

Otherwise in the shortlog, it is impossible to determine where a commit might be making changes.