[PATCH] tcp: fix code style in tcp_recvmsg()

Subsystems: networking [general], networking [tcp], the rest

STALE2833d

3 messages, 3 authors, 2018-12-06 · open the first message on its own page

[PATCH] tcp: fix code style in tcp_recvmsg()

From: Pedro Tammela <hidden>
Date: 2018-12-06 12:49:55

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

Signed-off-by: Pedro Tammela <redacted>
---
 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

Re: [PATCH] tcp: fix code style in tcp_recvmsg()

From: Eric Dumazet <hidden>
Date: 2018-12-06 15:56:49


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 <redacted>
Thanks Pedro

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

Re: [PATCH] tcp: fix code style in tcp_recvmsg()

From: David Miller <davem@davemloft.net>
Date: 2018-12-06 20:20:00

From: Pedro Tammela <redacted>
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 <redacted>
Applied to net-next.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help