netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] appletalk: fix a coccinella warning in net/appletalk/ddp.c
@ 2014-07-04  7:29 Wang Weidong
  2014-07-08 21:32 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Weidong @ 2014-07-04  7:29 UTC (permalink / raw)
  To: acme, David Miller; +Cc: netdev

This warning is introduced by commit 7b30600cc6 ("appletalk:
fix checkpatch error with indent"), So fix it.

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
---
 net/appletalk/ddp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c
index 01a1082..8ceabc0 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;
 	}
-- 
1.7.12

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] appletalk: fix a coccinella warning in net/appletalk/ddp.c
  2014-07-04  7:29 [PATCH net-next] appletalk: fix a coccinella warning in net/appletalk/ddp.c Wang Weidong
@ 2014-07-08 21:32 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-07-08 21:32 UTC (permalink / raw)
  To: wangweidong1; +Cc: acme, netdev

From: Wang Weidong <wangweidong1@huawei.com>
Date: Fri, 4 Jul 2014 15:29:48 +0800

> This warning is introduced by commit 7b30600cc6 ("appletalk:
> fix checkpatch error with indent"), So fix it.
> 
> Signed-off-by: Wang Weidong <wangweidong1@huawei.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-08 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04  7:29 [PATCH net-next] appletalk: fix a coccinella warning in net/appletalk/ddp.c Wang Weidong
2014-07-08 21:32 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).