Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2669628rdb; Tue, 12 Sep 2023 08:40:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpmAJ8XpJe29pmJsS/2AVncgL+9mu1eRS8Zks8tcVxjb2ArOlSqHj+fgzf5h0fZnSOn1Hx X-Received: by 2002:a05:6808:219d:b0:3a9:8393:dfaf with SMTP id be29-20020a056808219d00b003a98393dfafmr171031oib.12.1694533246038; Tue, 12 Sep 2023 08:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694533245; cv=none; d=google.com; s=arc-20160816; b=J159TDqv3RvA9lcnUdX5gihF7Si2NA7D7fSLTSvhmdf/QrsmMW/hZnzrJM106dRtIy 1YZiimN8v7HDQJr1D/BYJEMwQX5xv5DnUgGuj2hKF339K/VlvnzZ30dBWS2RXtd8IaoZ fwXUGgUnqQEycNqmabt4uGtw2ySeEZtZ0QfowdFa0VzhjrponEaf6lqO3VlSVDg0eGwP 8oifdjeDYZFXgDBnKs0636ycsOCshjUYgX/8R/2oOKSoYogY8BJMH8tnAQvyxj2AtWnX EGbGclSbrZciVb5bxLZaDh53ftcfIjHye22hQMohBTnDuW1kGM8fUKx9/2Ujy3xaXS9+ whRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=G9jspk+/G/QmfFUtkJ81zTnuz8bi3ZmZhywhtlqnNwc=; fh=uOyKelQf+DOazH4M1Ct8s3JE/ZQfG8NVHfgt7o8gY6o=; b=yzFSonCG+3niDDpICrhCb1euQMMz08tK+hr7hTEqO3c9jFbZhu9MGWgy3vTl8Qhb4E lEQO3p4sMdXzi1vHKwcOisv1GX6DdEHe5CZ+yJgYif16nVZgyAq9Ce2sx2r2JKGqP6+X 9KAg8O6XumurbeObTkS0G0Uu6Qq5XN/ME76AkG89graQc8QjovU9Cq4mSE00MRUsqsXT eE2sy7qS7Ek1VH7YBudo7r0J3DDd4X8smd539twsvDFFfijZG9OeeMCofh086ogGqRWi n1bZWzq822R9sqZiWFTqljtZliXVKQY2Q3R1dd5fTej4BoRWJP5GBrFR3rlHj+HlpPlA 8j0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eGnWVRXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id x24-20020a63b218000000b00577581963cdsi5073672pge.252.2023.09.12.08.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 08:40:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eGnWVRXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3A2F080D2E53; Tue, 12 Sep 2023 08:20:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236311AbjILPUl (ORCPT + 99 others); Tue, 12 Sep 2023 11:20:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234341AbjILPUk (ORCPT ); Tue, 12 Sep 2023 11:20:40 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2BFF10D9 for ; Tue, 12 Sep 2023 08:20:36 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 733CCC433C8; Tue, 12 Sep 2023 15:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694532036; bh=CyzBP67+/V5pqHwJ0uKs92bHtbAg4F+shcqqbAJgXWs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eGnWVRXtlWgAILYsdIav3nXuMmQ+VX5b/GUXFPNWmwltMafQ7hkSF2ZFlvLYqUHcp anRxuLJA5ikIr21kILDE9SXrAwtQHeIiQh5zeNeNcpAfipCWABZEfz1t/dreihyzI+ jmOGyYGbWwM79H3Wnarn26MYUkreBqZxqdoNXKo7xQx4uCHiN+oZNYc0ODEdRpOu8D 74sA2R/+EGR1LCF3Qv5kT6n2fbtNQn6wM8DBTn1ZaQUsPPgHzbefAd8OkrsqX6GOjd M8s5IsR1v7Y/7cnCDKQOFTasA5JDDOjBOIYE2SXBOsKXBY42ik1KEpDPl8h0yCOkEV Fx94Pgfv6JtDw== Date: Tue, 12 Sep 2023 17:20:31 +0200 From: Simon Horman To: Andy Shevchenko Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH net-next v1 2/2] net: core: Sort headers alphabetically Message-ID: <20230912152031.GI401982@kernel.org> References: <20230911154534.4174265-1-andriy.shevchenko@linux.intel.com> <20230911154534.4174265-2-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230911154534.4174265-2-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 08:20:44 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email On Mon, Sep 11, 2023 at 06:45:34PM +0300, Andy Shevchenko wrote: > It's rather a gigantic list of heards that is very hard to follow. > Sorting helps to see what's already included and what's not. > It improves a maintainability in a long term. > > Signed-off-by: Andy Shevchenko Hi Andy, At the risk of bike shedding, the sort function of Vim, when operating with the C locale, gives a slightly different order, as experssed by this incremental diff. I have no objections to your oder, but I'm slightly curious as to how it came about. diff --git a/net/core/dev.c b/net/core/dev.c index d795a6c5a591..770138babf7e 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -92,9 +92,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -105,9 +105,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -142,8 +142,8 @@ #include #include #include -#include #include +#include #include #include #include