summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_icmp.c
diff options
context:
space:
mode:
authorIan Morris2014-08-24 22:53:10 +0200
committerDavid S. Miller2014-08-25 07:37:52 +0200
commit67ba4152e8b77eada6a9c64e3c2c84d6112794fc (patch)
tree833bd7925ed3b69ef65f759c3f806cdaa8643d00 /net/ipv6/ip6_icmp.c
parentnet: ec_bhf: remove excessive debug messages (diff)
downloadkernel-qcow2-linux-67ba4152e8b77eada6a9c64e3c2c84d6112794fc.tar.gz
kernel-qcow2-linux-67ba4152e8b77eada6a9c64e3c2c84d6112794fc.tar.xz
kernel-qcow2-linux-67ba4152e8b77eada6a9c64e3c2c84d6112794fc.zip
ipv6: White-space cleansing : Line Layouts
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. A number of items are addressed in this patch: * Multiple spaces converted to tabs * Spaces before tabs removed. * Spaces in pointer typing cleansed (char *)foo etc. * Remove space after sizeof * Ensure spacing around comparators such as if statements. Signed-off-by: Ian Morris <ipm@chirality.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_icmp.c')
-rw-r--r--net/ipv6/ip6_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_icmp.c b/net/ipv6/ip6_icmp.c
index 4578e23834f7..14dacc544c3e 100644
--- a/net/ipv6/ip6_icmp.c
+++ b/net/ipv6/ip6_icmp.c
@@ -13,7 +13,7 @@ static ip6_icmp_send_t __rcu *ip6_icmp_send;
int inet6_register_icmp_sender(ip6_icmp_send_t *fn)
{
return (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, NULL, fn) == NULL) ?
- 0 : -EBUSY;
+ 0 : -EBUSY;
}
EXPORT_SYMBOL(inet6_register_icmp_sender);