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 9B3D23033FF; Wed, 18 Mar 2026 22:00:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773871222; cv=none; b=i4kJP0SXbqfCdQVFcmRJQ05PR1Ae95fp6wQljA7Js71syWlDFcODaMaAthkH87nSFWd/pf7loA0i6fEFmN9Gebijloyk6SKaDm29qu7P4CZAqPgC6zlbyJiHl/8omzDWxW9Uu6st1ftDkI87aPB2HvXmFxtioRuxF8tNim24+58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773871222; c=relaxed/simple; bh=Sb+rfmq4oFooLFg9kKHjL78GHpDPnVw8b80Lzn4xQGQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MBAWEsR/Wnr8fFhUfjyVzkezONGqZ/KwaPHca6RXRZUVI2z0b2YjdQ0pjZEp0/AyucP97ZVqofhu5J4LxybT51BP23vPVaPGjWsPFii7W+Ui9jBYo5cjyKN6RZWFIWD3jiMFwJ55zW/5NfJ7X6ThbbHsW3p3kfCi8HAD9IDbz2w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iHnpj2eW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iHnpj2eW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54853C19421; Wed, 18 Mar 2026 22:00:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773871222; bh=Sb+rfmq4oFooLFg9kKHjL78GHpDPnVw8b80Lzn4xQGQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iHnpj2eWMp5kyOvia+xhS7YPjRgvHhojFBbtVLEkiSFrREHzf1ThsnY+mul/DCbEm bCZtk8UomhfqnN7WpA6d5SlWaCMbxeDj/49cWIROdK41gGXd6SV3BXpLOmciDabQYt utwP9f4nNFFylZCD5ZZ4+TTyfQtGQAIOUrI8l4orZLs02BYkBvUSBCX8QynVQQisBM 3UW9liAnAELr9BRaoT/O8UdI7Lfr3xCNgaBJZ+AxuFpEbliUvWzDomFOIIMXL+AaLU IS83YVI23/HqiW/izjI2JLbXWw8FBgUtXsVq0UBM+D5eXhD/DY+m5S5C5g9CY7rJ08 Fdu3spiGfw7MA== Date: Wed, 18 Mar 2026 15:00:20 -0700 From: Jakub Kicinski To: Maxime Chevallier Cc: davem@davemloft.net, Andrew Lunn , Eric Dumazet , Paolo Abeni , Russell King , Heiner Kallweit , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Christophe Leroy , Herve Codina , Florian Fainelli , Vladimir Oltean , =?UTF-8?B?S8O2cnk=?= Maincent , Marek =?UTF-8?B?QmVow7pu?= , Oleksij Rempel , =?UTF-8?B?Tmljb2zDsg==?= Veronese , Simon Horman , mwojtas@chromium.org, Romain Gantois , Daniel Golle , Dimitri Fedrau , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Subject: Re: [PATCH net-next v7 10/10] net: ethtool: Introduce ethtool command to list ports Message-ID: <20260318150020.621cf1f1@kernel.org> In-Reply-To: <839f1eb9-cdc5-49bf-8ce0-1be9f5ca1c33@bootlin.com> References: <20260309152747.702373-1-maxime.chevallier@bootlin.com> <20260309152747.702373-11-maxime.chevallier@bootlin.com> <20260312190705.0b3a3f78@kernel.org> <839f1eb9-cdc5-49bf-8ce0-1be9f5ca1c33@bootlin.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-Transfer-Encoding: 7bit On Wed, 18 Mar 2026 08:28:00 +0100 Maxime Chevallier wrote: > >> +#include "common.h" > >> +#include "bitset.h" > >> +#include "netlink.h" > > > > alpha sort > > So that's not as easy as it looks, "bitset.h" is really barebones and > needs definitions for stuff like ETH_GSTRING_LEN, but also all the > u32/bool types, etc. > > In all files in net/ethtool/*.c the local includes list isnt' properly > sorted due to that. That's not right, let's fix it. Headers should be self-sufficient.