public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel•org>
To: Jakub Kicinski <kuba@kernel•org>
Cc: Kees Cook <kees@kernel•org>,
	"Gustavo A. R. Silva" <gustavoars@kernel•org>,
	"David S. Miller" <davem@davemloft•net>,
	Andrew Lunn <andrew@lunn•ch>,
	"Kory Maincent (Dent Project)" <kory.maincent@bootlin•com>,
	Michael Chan <michael.chan@broadcom•com>,
	Andrew Lunn <andrew+netdev@lunn•ch>,
	Eric Dumazet <edumazet@google•com>,
	Paolo Abeni <pabeni@redhat•com>,
	Potnuri Bharat Teja <bharat@chelsio•com>,
	Christian Benvenuti <benve@cisco•com>,
	Satish Kharat <satishkh@cisco•com>,
	Manish Chopra <manishc@marvell•com>,
	Simon Horman <horms@kernel•org>,
	Edward Cree <ecree.xilinx@gmail•com>,
	Przemek Kitszel <przemyslaw.kitszel@intel•com>,
	Heiner Kallweit <hkallweit1@gmail•com>,
	Ahmed Zaki <ahmed.zaki@intel•com>,
	Rahul Rameshbabu <rrameshbabu@nvidia•com>,
	Ido Schimmel <idosch@nvidia•com>,
	Maxime Chevallier <maxime.chevallier@bootlin•com>,
	Takeru Hayasaka <hayatake396@gmail•com>,
	Jonathan Corbet <corbet@lwn•net>,
	linux-kernel@vger•kernel.org, netdev@vger•kernel.org,
	linux-hardening@vger•kernel.org
Subject: [PATCH 0/3] UAPI: ethtool: Avoid flex-array in struct ethtool_link_settings
Date: Fri, 15 Nov 2024 12:43:02 -0800	[thread overview]
Message-ID: <20241115204115.work.686-kees@kernel.org> (raw)

Hi,

This reverts the tagged struct group in struct ethtool_link_settings and
instead just removes the flexible array member from Linux's view as it
is entirely unused.

-Kees

Kees Cook (3):
  Revert "net: ethtool: Avoid thousands of
    -Wflex-array-member-not-at-end warnings"
  Revert "UAPI: ethtool: Use __struct_group() in struct
    ethtool_link_settings"
  UAPI: ethtool: Avoid flex-array in struct ethtool_link_settings

 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c |  6 +--
 .../ethernet/chelsio/cxgb4/cxgb4_ethtool.c    |  4 +-
 .../ethernet/chelsio/cxgb4vf/cxgb4vf_main.c   |  2 +-
 .../net/ethernet/cisco/enic/enic_ethtool.c    |  2 +-
 .../net/ethernet/qlogic/qede/qede_ethtool.c   |  4 +-
 include/linux/ethtool.h                       |  2 +-
 include/uapi/linux/ethtool.h                  | 40 ++++++++++---------
 net/ethtool/ioctl.c                           |  2 +-
 net/ethtool/linkinfo.c                        |  8 ++--
 net/ethtool/linkmodes.c                       | 18 ++++-----
 10 files changed, 44 insertions(+), 44 deletions(-)

-- 
2.34.1


             reply	other threads:[~2024-11-15 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15 20:43 Kees Cook [this message]
2024-11-15 20:43 ` [PATCH 1/3] Revert "net: ethtool: Avoid thousands of -Wflex-array-member-not-at-end warnings" Kees Cook
2024-11-15 20:43 ` [PATCH 2/3] Revert "UAPI: ethtool: Use __struct_group() in struct ethtool_link_settings" Kees Cook
2024-11-15 20:43 ` [PATCH 3/3] UAPI: ethtool: Avoid flex-array in struct ethtool_link_settings Kees Cook
2024-11-15 21:50   ` Jakub Kicinski
2024-11-19  4:00 ` [PATCH 0/3] " patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241115204115.work.686-kees@kernel.org \
    --to=kees@kernel$(echo .)org \
    --cc=ahmed.zaki@intel$(echo .)com \
    --cc=andrew+netdev@lunn$(echo .)ch \
    --cc=andrew@lunn$(echo .)ch \
    --cc=benve@cisco$(echo .)com \
    --cc=bharat@chelsio$(echo .)com \
    --cc=corbet@lwn$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=ecree.xilinx@gmail$(echo .)com \
    --cc=edumazet@google$(echo .)com \
    --cc=gustavoars@kernel$(echo .)org \
    --cc=hayatake396@gmail$(echo .)com \
    --cc=hkallweit1@gmail$(echo .)com \
    --cc=horms@kernel$(echo .)org \
    --cc=idosch@nvidia$(echo .)com \
    --cc=kory.maincent@bootlin$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-hardening@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=manishc@marvell$(echo .)com \
    --cc=maxime.chevallier@bootlin$(echo .)com \
    --cc=michael.chan@broadcom$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=przemyslaw.kitszel@intel$(echo .)com \
    --cc=rrameshbabu@nvidia$(echo .)com \
    --cc=satishkh@cisco$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox