aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2012-04-01 03:49:07 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-02 04:33:46 -0400
commita2d91a09dac71bf34a9a3e4b8fdda36f02788b52 (patch)
tree2248c63186b8f08427c1f76872d696eb17b7b734 /net/ipv6/icmp.c
parent911c8541efc78014b29d44510be4d6d4c9d539da (diff)
net/ipv6/icmp.c: Checkpatch cleanups
icmp.c:501: ERROR: "(foo*)" should be "(foo *)" icmp.c:582: ERROR: "(foo*)" should be "(foo *)" icmp.c:954: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r--net/ipv6/icmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index af88934e4d79..6dd59f160da4 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -499,7 +499,7 @@ void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
499 err = ip6_append_data(sk, icmpv6_getfrag, &msg, 499 err = ip6_append_data(sk, icmpv6_getfrag, &msg,
500 len + sizeof(struct icmp6hdr), 500 len + sizeof(struct icmp6hdr),
501 sizeof(struct icmp6hdr), hlimit, 501 sizeof(struct icmp6hdr), hlimit,
502 np->tclass, NULL, &fl6, (struct rt6_info*)dst, 502 np->tclass, NULL, &fl6, (struct rt6_info *)dst,
503 MSG_DONTWAIT, np->dontfrag); 503 MSG_DONTWAIT, np->dontfrag);
504 if (err) { 504 if (err) {
505 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS); 505 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS);
@@ -580,7 +580,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
580 580
581 err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), 581 err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr),
582 sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6, 582 sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6,
583 (struct rt6_info*)dst, MSG_DONTWAIT, 583 (struct rt6_info *)dst, MSG_DONTWAIT,
584 np->dontfrag); 584 np->dontfrag);
585 585
586 if (err) { 586 if (err) {
@@ -951,7 +951,6 @@ int icmpv6_err_convert(u8 type, u8 code, int *err)
951 951
952 return fatal; 952 return fatal;
953} 953}
954
955EXPORT_SYMBOL(icmpv6_err_convert); 954EXPORT_SYMBOL(icmpv6_err_convert);
956 955
957#ifdef CONFIG_SYSCTL 956#ifdef CONFIG_SYSCTL