]> git.karo-electronics.de Git - linux-beck.git/commitdiff
appletalk: fix a coccinella warning in net/appletalk/ddp.c
authorwangweidong <wangweidong1@huawei.com>
Fri, 4 Jul 2014 07:29:48 +0000 (15:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 21:32:17 +0000 (14:32 -0700)
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>
net/appletalk/ddp.c

index 01a1082e02b3157b3abc84e6b23844ed3a26f2f2..8ceabc0736588330b79c1b1fa2cad2cae5a9686a 100644 (file)
@@ -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;
        }