Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ian Morris and committed by
David S. Miller
4c83acbc cc24beca

-23
-4
net/ipv6/inet6_connection_sock.c
··· 63 63 64 64 return sk2 != NULL; 65 65 } 66 - 67 66 EXPORT_SYMBOL_GPL(inet6_csk_bind_conflict); 68 67 69 68 struct dst_entry *inet6_csk_route_req(struct sock *sk, ··· 143 144 144 145 return NULL; 145 146 } 146 - 147 147 EXPORT_SYMBOL_GPL(inet6_csk_search_req); 148 148 149 149 void inet6_csk_reqsk_queue_hash_add(struct sock *sk, ··· 158 160 reqsk_queue_hash_req(&icsk->icsk_accept_queue, h, req, timeout); 159 161 inet_csk_reqsk_queue_added(sk, timeout); 160 162 } 161 - 162 163 EXPORT_SYMBOL_GPL(inet6_csk_reqsk_queue_hash_add); 163 164 164 165 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr) ··· 172 175 sin6->sin6_scope_id = ipv6_iface_scope_id(&sin6->sin6_addr, 173 176 sk->sk_bound_dev_if); 174 177 } 175 - 176 178 EXPORT_SYMBOL_GPL(inet6_csk_addr2sockaddr); 177 179 178 180 static inline
-3
net/ipv6/inet6_hashtables.c
··· 222 222 rcu_read_unlock(); 223 223 return result; 224 224 } 225 - 226 225 EXPORT_SYMBOL_GPL(inet6_lookup_listener); 227 226 228 227 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, ··· 237 238 238 239 return sk; 239 240 } 240 - 241 241 EXPORT_SYMBOL_GPL(inet6_lookup); 242 242 243 243 static int __inet6_check_established(struct inet_timewait_death_row *death_row, ··· 322 324 return __inet_hash_connect(death_row, sk, inet6_sk_port_offset(sk), 323 325 __inet6_check_established, __inet6_hash); 324 326 } 325 - 326 327 EXPORT_SYMBOL_GPL(inet6_hash_connect);
-1
net/ipv6/ip6_flowlabel.c
··· 259 259 rcu_read_unlock_bh(); 260 260 return NULL; 261 261 } 262 - 263 262 EXPORT_SYMBOL_GPL(fl6_sock_lookup); 264 263 265 264 void fl6_free_socklist(struct sock *sk)
-1
net/ipv6/ip6_output.c
··· 233 233 kfree_skb(skb); 234 234 return -EMSGSIZE; 235 235 } 236 - 237 236 EXPORT_SYMBOL(ip6_xmit); 238 237 239 238 static int ip6_call_ra_chain(struct sk_buff *skb, int sel)
-4
net/ipv6/ipv6_sockglue.c
··· 873 873 #endif 874 874 return err; 875 875 } 876 - 877 876 EXPORT_SYMBOL(ipv6_setsockopt); 878 877 879 878 #ifdef CONFIG_COMPAT ··· 908 909 #endif 909 910 return err; 910 911 } 911 - 912 912 EXPORT_SYMBOL(compat_ipv6_setsockopt); 913 913 #endif 914 914 ··· 1319 1321 #endif 1320 1322 return err; 1321 1323 } 1322 - 1323 1324 EXPORT_SYMBOL(ipv6_getsockopt); 1324 1325 1325 1326 #ifdef CONFIG_COMPAT ··· 1361 1364 #endif 1362 1365 return err; 1363 1366 } 1364 - 1365 1367 EXPORT_SYMBOL(compat_ipv6_getsockopt); 1366 1368 #endif 1367 1369
-1
net/ipv6/ndisc.c
··· 284 284 } 285 285 return -EINVAL; 286 286 } 287 - 288 287 EXPORT_SYMBOL(ndisc_mc_map); 289 288 290 289 static u32 ndisc_hash(const void *pkey,
-2
net/ipv6/route.c
··· 843 843 844 844 return NULL; 845 845 } 846 - 847 846 EXPORT_SYMBOL(rt6_lookup); 848 847 849 848 /* ip6_ins_rt is called with FREE table->tb6_lock. ··· 1040 1041 1041 1042 return fib6_rule_lookup(net, fl6, flags, ip6_pol_route_output); 1042 1043 } 1043 - 1044 1044 EXPORT_SYMBOL(ip6_route_output); 1045 1045 1046 1046 struct dst_entry *ip6_blackhole_route(struct net *net, struct dst_entry *dst_orig)
-2
net/ipv6/tunnel6.c
··· 64 64 65 65 return ret; 66 66 } 67 - 68 67 EXPORT_SYMBOL(xfrm6_tunnel_register); 69 68 70 69 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family) ··· 91 92 92 93 return ret; 93 94 } 94 - 95 95 EXPORT_SYMBOL(xfrm6_tunnel_deregister); 96 96 97 97 #define for_each_tunnel_rcu(head, handler) \
-2
net/ipv6/xfrm6_input.c
··· 52 52 return xfrm6_rcv_spi(skb, skb_network_header(skb)[IP6CB(skb)->nhoff], 53 53 0); 54 54 } 55 - 56 55 EXPORT_SYMBOL(xfrm6_rcv); 57 56 58 57 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr, ··· 141 142 drop: 142 143 return -1; 143 144 } 144 - 145 145 EXPORT_SYMBOL(xfrm6_input_addr);
-1
net/ipv6/xfrm6_output.c
··· 25 25 { 26 26 return ip6_find_1stfragopt(skb, prevhdr); 27 27 } 28 - 29 28 EXPORT_SYMBOL(xfrm6_find_1stfragopt); 30 29 31 30 static int xfrm6_local_dontfrag(struct sk_buff *skb)
-2
net/ipv6/xfrm6_tunnel.c
··· 110 110 rcu_read_unlock_bh(); 111 111 return htonl(spi); 112 112 } 113 - 114 113 EXPORT_SYMBOL(xfrm6_tunnel_spi_lookup); 115 114 116 115 static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi) ··· 186 187 187 188 return htonl(spi); 188 189 } 189 - 190 190 EXPORT_SYMBOL(xfrm6_tunnel_alloc_spi); 191 191 192 192 static void x6spi_destroy_rcu(struct rcu_head *head)