Skip to content

Commit a2d91a0

Browse files
eldaddavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 911c854 commit a2d91a0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

net/ipv6/icmp.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
499499
err = ip6_append_data(sk, icmpv6_getfrag, &msg,
500500
len + sizeof(struct icmp6hdr),
501501
sizeof(struct icmp6hdr), hlimit,
502-
np->tclass, NULL, &fl6, (struct rt6_info*)dst,
502+
np->tclass, NULL, &fl6, (struct rt6_info *)dst,
503503
MSG_DONTWAIT, np->dontfrag);
504504
if (err) {
505505
ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS);
@@ -580,7 +580,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
580580

581581
err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr),
582582
sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6,
583-
(struct rt6_info*)dst, MSG_DONTWAIT,
583+
(struct rt6_info *)dst, MSG_DONTWAIT,
584584
np->dontfrag);
585585

586586
if (err) {
@@ -951,7 +951,6 @@ int icmpv6_err_convert(u8 type, u8 code, int *err)
951951

952952
return fatal;
953953
}
954-
955954
EXPORT_SYMBOL(icmpv6_err_convert);
956955

957956
#ifdef CONFIG_SYSCTL

0 commit comments

Comments
 (0)