From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pedro Tammela Subject: [PATCH] tcp: fix code style in tcp_recvmsg() Date: Thu, 6 Dec 2018 10:45:28 -0200 Message-ID: <20181206124528.6802-1-pctammela@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Pedro Tammela To: netdev@vger.kernel.org, Eric Dumazet , "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI Return-path: Received: from mail-qt1-f196.google.com ([209.85.160.196]:44363 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727832AbeLFMtz (ORCPT ); Thu, 6 Dec 2018 07:49:55 -0500 Received: by mail-qt1-f196.google.com with SMTP id n32so309041qte.11 for ; Thu, 06 Dec 2018 04:49:54 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 2 goto labels are indented with a tab. remove the tabs and keep the code style consistent. Signed-off-by: Pedro Tammela --- 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