numam-dpdk/drivers/net/bnx2x
Bruce Richardson 6723c0fc72 replace snprintf with strlcpy
Do a global replace of snprintf(..."%s",...) with strlcpy, adding in the
rte_string_fns.h header if needed.  The function changes in this patch were
auto-generated via command:

  spatch --sp-file devtools/cocci/strlcpy.cocci --dir . --in-place

and then the files edited using awk to add in the missing header:

  gawk -i inplace '/include <rte_/ && ! seen { \
  	print "#include <rte_string_fns.h>"; seen=1} {print}'

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-04-04 22:46:05 +02:00
..
bnx2x_ethdev.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
bnx2x_ethdev.h net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
bnx2x_logs.h net/bnx2x: fix dynamic logging 2018-11-14 00:35:53 +01:00
bnx2x_rxtx.c ethdev: rename memzones allocated for DMA 2018-10-17 10:26:59 +02:00
bnx2x_rxtx.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_stats.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_stats.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_vfpf.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_vfpf.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x.c drivers/net: fix possible overflow using strlcat 2019-03-22 11:32:53 +01:00
bnx2x.h net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
ecore_fw_defs.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_hsi.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_init_ops.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_init.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_mfw_req.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_reg.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_sp.c net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
ecore_sp.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
elink.c net/bnx2x: remove profanity 2018-10-18 10:24:39 +02:00
elink.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
Makefile net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
meson.build build: improve dependency handling 2019-02-27 12:13:54 +01:00
rte_pmd_bnx2x_version.map bnx2x: driver support routines 2015-07-27 04:27:10 +02:00