aboutsummaryrefslogtreecommitdiffstats
path: root/net/appletalk
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2014-07-04 15:29:48 +0800
committerDavid S. Miller <davem@davemloft.net>2014-07-08 14:32:17 -0700
commit63ae88949bc7f6b56438d430c55060d9eda981af (patch)
tree529783885c85fd6f0f6ef1bb4fada9e415c9ffeb /net/appletalk
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next (diff)
downloadlinux-dev-63ae88949bc7f6b56438d430c55060d9eda981af.tar.xz
linux-dev-63ae88949bc7f6b56438d430c55060d9eda981af.zip
appletalk: fix a coccinella warning in net/appletalk/ddp.c
This warning is introduced by commit 7b30600cc6 ("appletalk: fix checkpatch error with indent"), So fix it. Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/appletalk')
-rw-r--r--net/appletalk/ddp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c
index 01a1082e02b3..8ceabc073658 100644
--- a/net/appletalk/ddp.c
+++ b/net/appletalk/ddp.c
@@ -1808,7 +1808,7 @@ static int atalk_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
long amount = 0;
if (skb)
- amount = skb->len - sizeof(struct ddpehdr);
+ amount = skb->len - sizeof(struct ddpehdr);
rc = put_user(amount, (int __user *)argp);
break;
}