tcp: fix code style in tcp_recvmsg()
Subsystems (3)
PATCH 1/1 tcp: fix code style in tcp_recvmsg()
2 goto labels are indented with a tab. remove the tabs and keep the code style consistent.
Signed-off-by Pedro Tammela <[email protected]>
--- net/ipv4/tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/ipv4/tcp.c +2 -2
@@ -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 ))
Signature · 1 line
2.19.2
Quoted 4 lines · Pedro Tammela
2 goto labels are indented with a tab. remove the tabs and keep the code style consistent.
Signed-off-by Pedro Tammela <[email protected]>
Thanks Pedro
Acked-by Eric Dumazet <[email protected]>
From: Pedro Tammela <[email protected]>
Date: Thu, 6 Dec 2018 10:45:28 -0200
Quoted 4 lines
2 goto labels are indented with a tab. remove the tabs and keep the code style consistent.
Signed-off-by Pedro Tammela <[email protected]>
Applied to net-next.