forked from luck/tmp_suning_uos_patched
ipv6: White-space cleansing : gaps between function and symbol export
This patch makes no changes to the logic of the code but simply addresses coding style issues as detected by checkpatch. Both objdump and diff -w show no differences. This patch removes some blank lines between the end of a function definition and the EXPORT_SYMBOL_GPL macro in order to prevent checkpatch warning that EXPORT_SYMBOL must immediately follow a function. Signed-off-by: Ian Morris <ipm@chirality.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cc24becae3
commit
4c83acbc56
|
@ -63,7 +63,6 @@ int inet6_csk_bind_conflict(const struct sock *sk,
|
|||
|
||||
return sk2 != NULL;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_csk_bind_conflict);
|
||||
|
||||
struct dst_entry *inet6_csk_route_req(struct sock *sk,
|
||||
|
@ -144,7 +143,6 @@ struct request_sock *inet6_csk_search_req(const struct sock *sk,
|
|||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_csk_search_req);
|
||||
|
||||
void inet6_csk_reqsk_queue_hash_add(struct sock *sk,
|
||||
|
@ -160,7 +158,6 @@ void inet6_csk_reqsk_queue_hash_add(struct sock *sk,
|
|||
reqsk_queue_hash_req(&icsk->icsk_accept_queue, h, req, timeout);
|
||||
inet_csk_reqsk_queue_added(sk, timeout);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_csk_reqsk_queue_hash_add);
|
||||
|
||||
void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr)
|
||||
|
@ -175,7 +172,6 @@ void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr)
|
|||
sin6->sin6_scope_id = ipv6_iface_scope_id(&sin6->sin6_addr,
|
||||
sk->sk_bound_dev_if);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_csk_addr2sockaddr);
|
||||
|
||||
static inline
|
||||
|
|
|
@ -222,7 +222,6 @@ struct sock *inet6_lookup_listener(struct net *net,
|
|||
rcu_read_unlock();
|
||||
return result;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_lookup_listener);
|
||||
|
||||
struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
|
||||
|
@ -238,7 +237,6 @@ struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
|
|||
|
||||
return sk;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_lookup);
|
||||
|
||||
static int __inet6_check_established(struct inet_timewait_death_row *death_row,
|
||||
|
@ -324,5 +322,4 @@ int inet6_hash_connect(struct inet_timewait_death_row *death_row,
|
|||
return __inet_hash_connect(death_row, sk, inet6_sk_port_offset(sk),
|
||||
__inet6_check_established, __inet6_hash);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(inet6_hash_connect);
|
||||
|
|
|
@ -259,7 +259,6 @@ struct ip6_flowlabel *fl6_sock_lookup(struct sock *sk, __be32 label)
|
|||
rcu_read_unlock_bh();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(fl6_sock_lookup);
|
||||
|
||||
void fl6_free_socklist(struct sock *sk)
|
||||
|
|
|
@ -233,7 +233,6 @@ int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
|
|||
kfree_skb(skb);
|
||||
return -EMSGSIZE;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ip6_xmit);
|
||||
|
||||
static int ip6_call_ra_chain(struct sk_buff *skb, int sel)
|
||||
|
|
|
@ -873,7 +873,6 @@ int ipv6_setsockopt(struct sock *sk, int level, int optname,
|
|||
#endif
|
||||
return err;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ipv6_setsockopt);
|
||||
|
||||
#ifdef CONFIG_COMPAT
|
||||
|
@ -909,7 +908,6 @@ int compat_ipv6_setsockopt(struct sock *sk, int level, int optname,
|
|||
#endif
|
||||
return err;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(compat_ipv6_setsockopt);
|
||||
#endif
|
||||
|
||||
|
@ -1321,7 +1319,6 @@ int ipv6_getsockopt(struct sock *sk, int level, int optname,
|
|||
#endif
|
||||
return err;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ipv6_getsockopt);
|
||||
|
||||
#ifdef CONFIG_COMPAT
|
||||
|
@ -1364,7 +1361,6 @@ int compat_ipv6_getsockopt(struct sock *sk, int level, int optname,
|
|||
#endif
|
||||
return err;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(compat_ipv6_getsockopt);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -284,7 +284,6 @@ int ndisc_mc_map(const struct in6_addr *addr, char *buf, struct net_device *dev,
|
|||
}
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ndisc_mc_map);
|
||||
|
||||
static u32 ndisc_hash(const void *pkey,
|
||||
|
|
|
@ -843,7 +843,6 @@ struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
|
|||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(rt6_lookup);
|
||||
|
||||
/* ip6_ins_rt is called with FREE table->tb6_lock.
|
||||
|
@ -1041,7 +1040,6 @@ struct dst_entry *ip6_route_output(struct net *net, const struct sock *sk,
|
|||
|
||||
return fib6_rule_lookup(net, fl6, flags, ip6_pol_route_output);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ip6_route_output);
|
||||
|
||||
struct dst_entry *ip6_blackhole_route(struct net *net, struct dst_entry *dst_orig)
|
||||
|
|
|
@ -64,7 +64,6 @@ int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family)
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(xfrm6_tunnel_register);
|
||||
|
||||
int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family)
|
||||
|
@ -92,7 +91,6 @@ int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family)
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(xfrm6_tunnel_deregister);
|
||||
|
||||
#define for_each_tunnel_rcu(head, handler) \
|
||||
|
|
|
@ -52,7 +52,6 @@ int xfrm6_rcv(struct sk_buff *skb)
|
|||
return xfrm6_rcv_spi(skb, skb_network_header(skb)[IP6CB(skb)->nhoff],
|
||||
0);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(xfrm6_rcv);
|
||||
|
||||
int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
|
||||
|
@ -142,5 +141,4 @@ int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
|
|||
drop:
|
||||
return -1;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(xfrm6_input_addr);
|
||||
|
|
|
@ -25,7 +25,6 @@ int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb,
|
|||
{
|
||||
return ip6_find_1stfragopt(skb, prevhdr);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(xfrm6_find_1stfragopt);
|
||||
|
||||
static int xfrm6_local_dontfrag(struct sk_buff *skb)
|
||||
|
|
|
@ -110,7 +110,6 @@ __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr)
|
|||
rcu_read_unlock_bh();
|
||||
return htonl(spi);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(xfrm6_tunnel_spi_lookup);
|
||||
|
||||
static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi)
|
||||
|
@ -187,7 +186,6 @@ __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr)
|
|||
|
||||
return htonl(spi);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(xfrm6_tunnel_alloc_spi);
|
||||
|
||||
static void x6spi_destroy_rcu(struct rcu_head *head)
|
||||
|
|
Loading…
Reference in New Issue
Block a user