mbox series

[net-next,0/9] Intel Wired LAN Driver Updates 2023-10-17

Message ID 20231017190411.2199743-1-jacob.e.keller@intel.com (mailing list archive)
Headers show
Series Intel Wired LAN Driver Updates 2023-10-17 | expand

Message

Jacob Keller Oct. 17, 2023, 7:04 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 19, 2023, 1:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 17 Oct 2023 12:04:02 -0700 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/9] intel: fix string truncation warnings
    https://git.kernel.org/netdev/net-next/c/1978d3ead82c
  - [net-next,2/9] intel: fix format warnings
    https://git.kernel.org/netdev/net-next/c/d97af2440a0c
  - [net-next,3/9] e100: replace deprecated strncpy with strscpy
    https://git.kernel.org/netdev/net-next/c/7677f635bf80
  - [net-next,4/9] e1000: replace deprecated strncpy with strscpy
    https://git.kernel.org/netdev/net-next/c/341359e034e4
  - [net-next,5/9] fm10k: replace deprecated strncpy with strscpy
    https://git.kernel.org/netdev/net-next/c/48b238461b90
  - [net-next,6/9] i40e: use scnprintf over strncpy+strncat
    https://git.kernel.org/netdev/net-next/c/be39d0a61aed
  - [net-next,7/9] igb: replace deprecated strncpy with strscpy
    https://git.kernel.org/netdev/net-next/c/95e71e35e635
  - [net-next,8/9] igbvf: replace deprecated strncpy with strscpy
    https://git.kernel.org/netdev/net-next/c/a6c78d5f8d5d
  - [net-next,9/9] igc: replace deprecated strncpy with strscpy
    https://git.kernel.org/netdev/net-next/c/d10d64ad01db

You are awesome, thank you!