From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4B91A31; Tue, 12 Sep 2023 15:20:36 +0000 (UTC) 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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> 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