1
0
Fork 0

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>
wifi-calibration
wangweidong 2014-07-04 15:29:48 +08:00 committed by David S. Miller
parent 72948cdcbb
commit 63ae88949b
1 changed files with 1 additions and 1 deletions

View 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;
}