netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iwl-next v2 0/5] drop unnecessary constant casts to u16
@ 2025-07-08  8:16 Jacek Kowalski
  2025-07-08  8:16 ` [PATCH iwl-next v2 1/5] e1000: " Jacek Kowalski
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Jacek Kowalski @ 2025-07-08  8:16 UTC (permalink / raw)
  To: Tony Nguyen, Przemek Kitszel, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman
  Cc: intel-wired-lan, netdev

As requested by Simon Horman, here's the patch set to drop casts of
constants to u16 in comparisons and subtractions.

Changes are applied across all Intel wired drivers.

No behavioural changes intended.
Compile tested only.

v1 -> v2: drop casts in subtractions as well

Jacek Kowalski (5):
  e1000: drop unnecessary constant casts to u16
  e1000e: drop unnecessary constant casts to u16
  igb: drop unnecessary constant casts to u16
  igc: drop unnecessary constant casts to u16
  ixgbe: drop unnecessary constant casts to u16

 drivers/net/ethernet/intel/e1000/e1000_ethtool.c | 2 +-
 drivers/net/ethernet/intel/e1000/e1000_hw.c      | 4 ++--
 drivers/net/ethernet/intel/e1000/e1000_main.c    | 2 +-
 drivers/net/ethernet/intel/e1000e/ethtool.c      | 2 +-
 drivers/net/ethernet/intel/e1000e/nvm.c          | 4 ++--
 drivers/net/ethernet/intel/igb/e1000_82575.c     | 4 ++--
 drivers/net/ethernet/intel/igb/e1000_i210.c      | 2 +-
 drivers/net/ethernet/intel/igb/e1000_nvm.c       | 4 ++--
 drivers/net/ethernet/intel/igc/igc_i225.c        | 2 +-
 drivers/net/ethernet/intel/igc/igc_nvm.c         | 4 ++--
 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c  | 2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c    | 2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c    | 2 +-
 13 files changed, 18 insertions(+), 18 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-07-14 12:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08  8:16 [PATCH iwl-next v2 0/5] drop unnecessary constant casts to u16 Jacek Kowalski
2025-07-08  8:16 ` [PATCH iwl-next v2 1/5] e1000: " Jacek Kowalski
2025-07-08 19:06   ` Simon Horman
2025-07-08 19:40     ` Jacek Kowalski
2025-07-14 12:21       ` David Laight
2025-07-09  3:03   ` kernel test robot
2025-07-11 17:25   ` David Laight
2025-07-08  8:17 ` [PATCH iwl-next v2 2/5] e1000e: " Jacek Kowalski
2025-07-08 19:07   ` Simon Horman
2025-07-08  8:17 ` [PATCH iwl-next v2 3/5] igb: " Jacek Kowalski
2025-07-08 19:08   ` Simon Horman
2025-07-08  8:18 ` [PATCH iwl-next v2 4/5] igc: " Jacek Kowalski
2025-07-08 19:08   ` Simon Horman
2025-07-08  8:18 ` [PATCH iwl-next v2 5/5] ixgbe: " Jacek Kowalski
2025-07-08  8:54   ` [Intel-wired-lan] " Loktionov, Aleksandr
2025-07-08  9:34     ` Jacek Kowalski
2025-07-08 10:26       ` Loktionov, Aleksandr
2025-07-08 11:13         ` Jacek Kowalski
2025-07-08 19:08   ` Simon Horman

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).