All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tcp: fix code style in tcp_recvmsg()
@ 2018-12-06 12:45 Pedro Tammela
  2018-12-06 15:56 ` Eric Dumazet
  2018-12-06 20:19 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Pedro Tammela @ 2018-12-06 12:45 UTC (permalink / raw)
  To: netdev, Eric Dumazet, David S. Miller, Alexey Kuznetsov,
	Hideaki YOSHIFUJI
  Cc: Pedro Tammela

2 goto labels are indented with a tab. remove the tabs and
keep the code style consistent.

Signed-off-by: Pedro Tammela <pctammela@gmail.com>
---
 net/ipv4/tcp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 9e6bc4d6daa7..8b92d66a5f41 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -2088,7 +2088,7 @@ int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
 		}
 		continue;
 
-	found_ok_skb:
+found_ok_skb:
 		/* Ok so how much can we use? */
 		used = skb->len - offset;
 		if (len < used)
@@ -2147,7 +2147,7 @@ int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
 			sk_eat_skb(sk, skb);
 		continue;
 
-	found_fin_ok:
+found_fin_ok:
 		/* Process the FIN. */
 		++*seq;
 		if (!(flags & MSG_PEEK))
-- 
2.19.2

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

* Re: [PATCH] tcp: fix code style in tcp_recvmsg()
  2018-12-06 12:45 [PATCH] tcp: fix code style in tcp_recvmsg() Pedro Tammela
@ 2018-12-06 15:56 ` Eric Dumazet
  2018-12-06 20:19 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Dumazet @ 2018-12-06 15:56 UTC (permalink / raw)
  To: Pedro Tammela, netdev, Eric Dumazet, David S. Miller,
	Alexey Kuznetsov, Hideaki YOSHIFUJI



On 12/06/2018 04:45 AM, Pedro Tammela wrote:
> 2 goto labels are indented with a tab. remove the tabs and
> keep the code style consistent.
> 
> Signed-off-by: Pedro Tammela <pctammela@gmail.com>

Thanks Pedro

Acked-by: Eric Dumazet <edumazet@google.com>

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

* Re: [PATCH] tcp: fix code style in tcp_recvmsg()
  2018-12-06 12:45 [PATCH] tcp: fix code style in tcp_recvmsg() Pedro Tammela
  2018-12-06 15:56 ` Eric Dumazet
@ 2018-12-06 20:19 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2018-12-06 20:19 UTC (permalink / raw)
  To: pctammela; +Cc: netdev, edumazet, kuznet, yoshfuji

From: Pedro Tammela <pctammela@gmail.com>
Date: Thu,  6 Dec 2018 10:45:28 -0200

> 2 goto labels are indented with a tab. remove the tabs and
> keep the code style consistent.
> 
> Signed-off-by: Pedro Tammela <pctammela@gmail.com>

Applied to net-next.

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

end of thread, other threads:[~2018-12-06 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06 12:45 [PATCH] tcp: fix code style in tcp_recvmsg() Pedro Tammela
2018-12-06 15:56 ` Eric Dumazet
2018-12-06 20:19 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.