From: wangweidong Date: Fri, 4 Jul 2014 07:29:48 +0000 (+0800) Subject: appletalk: fix a coccinella warning in net/appletalk/ddp.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=63ae88949bc7f6b56438d430c55060d9eda981af;p=linux-beck.git 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 Signed-off-by: David S. Miller --- 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; }