linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] net: use vmalloc_array() to simplify code
@ 2025-08-12 13:32 Qianfeng Rong
  2025-08-12 13:32 ` [PATCH 1/5] ethtool: " Qianfeng Rong
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Qianfeng Rong @ 2025-08-12 13:32 UTC (permalink / raw)
  To: Tony Nguyen, Przemek Kitszel, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
	Jiri Slaby, Nick Kossifidis, Luis Chamberlain, Brian Norris,
	Francesco Dolcini, Alexei Starovoitov, Daniel Borkmann,
	Jesper Dangaard Brouer, John Fastabend, Stanislav Fomichev,
	Qianfeng Rong, Johannes Berg, Sascha Hauer, Kalle Valo,
	Aditya Kumar Singh, Roopni Devanathan, Dan Carpenter,
	moderated list:INTEL ETHERNET DRIVERS,
	open list:NETWORKING DRIVERS, open list,
	open list:NETRONOME ETHERNET DRIVERS,
	open list:ATHEROS ATH5K WIRELESS DRIVER,
	open list:XDP (eXpress Data Path):Keyword:(?:b|_)xdp(?:b|_)

Remove array_size() calls and replace vmalloc() with vmalloc_array() to
simplify the code and maintain consistency with existing kmalloc_array()
usage.

Compile-tested only.

Qianfeng Rong (5):
  ethtool: use vmalloc_array() to simplify code
  nfp: flower: use vmalloc_array() to simplify code
  ppp: use vmalloc_array() to simplify
  wifi: ath5k: use vmalloc_array() to simplify code
  wifi: mwifiex: use vmalloc_array() to simplify code

 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c     | 2 +-
 drivers/net/ethernet/intel/igb/igb_ethtool.c         | 8 ++++----
 drivers/net/ethernet/intel/igc/igc_ethtool.c         | 8 ++++----
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c     | 2 +-
 drivers/net/ethernet/intel/ixgbevf/ethtool.c         | 6 +++---
 drivers/net/ethernet/netronome/nfp/flower/metadata.c | 4 ++--
 drivers/net/ppp/bsd_comp.c                           | 4 ++--
 drivers/net/wireless/ath/ath5k/debug.c               | 2 +-
 drivers/net/wireless/marvell/mwifiex/cfg80211.c      | 4 ++--
 9 files changed, 20 insertions(+), 20 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2025-08-14  6:41 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-12 13:32 [PATCH 0/5] net: use vmalloc_array() to simplify code Qianfeng Rong
2025-08-12 13:32 ` [PATCH 1/5] ethtool: " Qianfeng Rong
2025-08-12 16:28   ` [Intel-wired-lan] " Loktionov, Aleksandr
2025-08-12 16:34   ` Paul Menzel
2025-08-14  4:05     ` Qianfeng Rong
2025-08-14  6:28       ` Paul Menzel
2025-08-14  6:41         ` Qianfeng Rong
2025-08-12 20:49   ` Jakub Kicinski
2025-08-13  7:00     ` Qianfeng Rong
2025-08-12 13:32 ` [PATCH 2/5] nfp: flower: " Qianfeng Rong
2025-08-12 13:32 ` [PATCH 3/5] ppp: use vmalloc_array() to simplify Qianfeng Rong
2025-08-12 13:32 ` [PATCH 4/5] wifi: ath5k: use vmalloc_array() to simplify code Qianfeng Rong
2025-08-12 13:32 ` [PATCH 5/5] wifi: mwifiex: " Qianfeng Rong
2025-08-12 13:48   ` Dan Carpenter
2025-08-12 14:13     ` Qianfeng Rong
2025-08-12 14:31       ` Dan Carpenter
2025-08-13  6:52         ` Qianfeng Rong
2025-08-13  9:25           ` Dan Carpenter
2025-08-13 18:35     ` Jeff Johnson
2025-08-14  6:24       ` Dan Carpenter
2025-08-12 20:48 ` [PATCH 0/5] net: " Jakub Kicinski
2025-08-13  1:53   ` Qianfeng Rong
2025-08-13  6:49   ` Qianfeng Rong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).