aboutsummaryrefslogtreecommitdiffstats
path: root/net/appletalk/ddp.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2014-07-04 03:29:48 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-08 17:32:17 -0400
commit63ae88949bc7f6b56438d430c55060d9eda981af (patch)
tree529783885c85fd6f0f6ef1bb4fada9e415c9ffeb /net/appletalk/ddp.c
parent72948cdcbbcb5cd6b85c0a724a228b735d198212 (diff)
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/ddp.c')
-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)
1808 long amount = 0; 1808 long amount = 0;
1809 1809
1810 if (skb) 1810 if (skb)
1811 amount = skb->len - sizeof(struct ddpehdr); 1811 amount = skb->len - sizeof(struct ddpehdr);
1812 rc = put_user(amount, (int __user *)argp); 1812 rc = put_user(amount, (int __user *)argp);
1813 break; 1813 break;
1814 } 1814 }