lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231017190411.2199743-1-jacob.e.keller@intel.com>
Date: Tue, 17 Oct 2023 12:04:02 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: netdev@...r.kernel.org,
	David Miller <davem@...emloft.net>,
	Jakub Kicinski <kuba@...nel.org>
Cc: Jacob Keller <jacob.e.keller@...el.com>
Subject: [PATCH net-next 0/9] Intel Wired LAN Driver Updates 2023-10-17

This series contains cleanups for all the Intel drivers relating to their
use of format specifiers and the use of strncpy.

Jesse fixes various -Wformat warnings across all the Intel networking,
including various cases where a "%s" string format specifier is preferred,
and using kasprintf instead of snprintf.

Justin replaces all of the uses of the now deprecated strncpy with a more
modern string function, primarily strscpy.

Jesse Brandeburg (2):
  intel: fix string truncation warnings
  intel: fix format warnings

Justin Stitt (7):
  e100: replace deprecated strncpy with strscpy
  e1000: replace deprecated strncpy with strscpy
  fm10k: replace deprecated strncpy with strscpy
  i40e: use scnprintf over strncpy+strncat
  igb: replace deprecated strncpy with strscpy
  igbvf: replace deprecated strncpy with strscpy
  igc: replace deprecated strncpy with strscpy

 drivers/net/ethernet/intel/e100.c             |  2 +-
 drivers/net/ethernet/intel/e1000/e1000_main.c |  2 +-
 .../net/ethernet/intel/fm10k/fm10k_ethtool.c  |  8 ++--
 drivers/net/ethernet/intel/i40e/i40e_ddp.c    |  7 ++--
 .../net/ethernet/intel/i40e/i40e_ethtool.c    |  6 ++-
 .../net/ethernet/intel/iavf/iavf_ethtool.c    |  8 ++--
 .../net/ethernet/intel/iavf/iavf_virtchnl.c   | 22 ++++-------
 drivers/net/ethernet/intel/ice/ice_ethtool.c  |  7 ++--
 drivers/net/ethernet/intel/ice/ice_ptp.c      |  4 +-
 drivers/net/ethernet/intel/igb/igb_ethtool.c  |  4 +-
 drivers/net/ethernet/intel/igb/igb_main.c     | 39 +++++++++----------
 drivers/net/ethernet/intel/igbvf/netdev.c     |  2 +-
 drivers/net/ethernet/intel/igc/igc_ethtool.c  |  5 ++-
 drivers/net/ethernet/intel/igc/igc_main.c     |  2 +-
 .../net/ethernet/intel/ixgbe/ixgbe_ethtool.c  |  4 +-
 15 files changed, 58 insertions(+), 64 deletions(-)

-- 
2.41.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ