Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1777797rwd; Thu, 1 Jun 2023 23:11:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ481Mo7BEcxXL1KTYu+rsYCw79Epg8rYEm1xJ+dGmJW6hbB2Cz5/Buiq0x7uG2VpcubrvxG X-Received: by 2002:a05:6a20:840f:b0:10c:29e5:941e with SMTP id c15-20020a056a20840f00b0010c29e5941emr13862205pzd.59.1685686264700; Thu, 01 Jun 2023 23:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685686264; cv=none; d=google.com; s=arc-20160816; b=Hm82dwvKwsbdtdKaVqW2QRxyeFWFZA0nbIBRLXimnpgkZnNNn5nBJK3uY4Etih463L m3BZiQiZAwcoE6p80W55QD9JKdvsoljdWi7R4VIGFHUvBiQIrxBzaai30VS5T/fxdKeN xaJFWe7GM7Bhxj9qGq2zfmem9NVmreonTV5g4ZHAs/Zg3wErctNvqzjzGwupKKVsPBSg seccFVMrPeX1REVHIcp8e6IwfXwl/js+NuSWuwg4thDFrnRFfEhLztHsvN6Sym/rGpZ0 meU12uE9K0RfAkMoqvNoESoq0oOuciGOQWZSRkhsPqyl2bRR0MCmZhnMdF+kWSsOf3g3 veDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=U1EUbpq4PYE1826Du/TFGSv61V0+H+x1RClYKZQ3Eyg=; b=Pih6yN/Aj6d0Bf1VqswhSQ22HJeO3vSl9NGECmviDAa9UgpFFItRqTcFIvV8H9P46u lZzpWWStoz02QuUm9JZYh69yDN+O2evdbW4i+kSX+g3WCW3fNJKtzZ7ISnXQdyws2Ghg UI1BhsFtiMr3cX+jQLiQWGqElWVSt+lawmtkiUQSQO3HhF1cpJpRR4HdCeVK8JP3nkiB q5ho2ojX4rpbriSzKOKSot7Tq04MBR8ZICS/8ssV2x4ycl38374ulk/viC0ZLgxcMB29 KHvF+FJsoUryaoO5FY1ngNI4D1UN4KXUqwgoX18h866Nkt6jQ8WjJx2JLCHSAbdd6vDy VSsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a637b50000000b005347aba7376si446396pgn.297.2023.06.01.23.10.30; Thu, 01 Jun 2023 23:11:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233439AbjFBF7o (ORCPT + 99 others); Fri, 2 Jun 2023 01:59:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbjFBF7n (ORCPT ); Fri, 2 Jun 2023 01:59:43 -0400 Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC2819A; Thu, 1 Jun 2023 22:59:41 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0Vk8fnVv_1685685566; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vk8fnVv_1685685566) by smtp.aliyun-inc.com; Fri, 02 Jun 2023 13:59:37 +0800 From: Jiapeng Chong To: davem@davemloft.net Cc: dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] ip_gre: clean up some inconsistent indenting Date: Fri, 2 Jun 2023 13:59:25 +0800 Message-Id: <20230602055925.26078-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional modification involved. net/ipv4/ip_gre.c:192 ipgre_err() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5375 Signed-off-by: Jiapeng Chong --- net/ipv4/ip_gre.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index e55a20264960..81a1cce1a7d1 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c @@ -189,10 +189,10 @@ static int ipgre_err(struct sk_buff *skb, u32 info, } #if IS_ENABLED(CONFIG_IPV6) - if (tpi->proto == htons(ETH_P_IPV6) && - !ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len, - type, data_len)) - return 0; + if (tpi->proto == htons(ETH_P_IPV6) && + !ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len, + type, data_len)) + return 0; #endif if (t->parms.iph.daddr == 0 || -- 2.20.1.7.g153144c