projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72948cd
)
appletalk: fix a coccinella warning in net/appletalk/ddp.c
author
wangweidong
<wangweidong1@huawei.com>
Fri, 4 Jul 2014 07:29:48 +0000
(15:29 +0800)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/appletalk/ddp.c
b/net/appletalk/ddp.c
index 01a1082e02b3157b3abc84e6b23844ed3a26f2f2..8ceabc0736588330b79c1b1fa2cad2cae5a9686a 100644
(file)
--- 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;
}