2012-05-21 19:05:31

by Jeffrin Jose

[permalink] [raw]
Subject: [PATCH 1/4]net:ipv6:fixed a space issue relating to != operator

Fixed a space issue relating to != operator
found by checkpatch.pl tool in net/ipv6/mcast.c

Signed-off-by: Jeffrin Jose <[email protected]>
---
net/ipv6/mcast.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index 7dfb89f..8f7eee9 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -214,7 +214,7 @@ int ipv6_sock_mc_drop(struct sock *sk, int ifindex, const struct in6_addr *addr)
spin_lock(&ipv6_sk_mc_lock);
for (lnk = &np->ipv6_mc_list;
(mc_lst = rcu_dereference_protected(*lnk,
- lockdep_is_held(&ipv6_sk_mc_lock))) !=NULL ;
+ lockdep_is_held(&ipv6_sk_mc_lock))) != NULL ;
lnk = &mc_lst->next) {
if ((ifindex == 0 || mc_lst->ifindex == ifindex) &&
ipv6_addr_equal(&mc_lst->addr, addr)) {
--
1.7.10