numam-dpdk/drivers/net/i40e
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
..
base net/i40e: fix port close 2018-12-13 17:44:52 +00:00
i40e_ethdev_vf.c net/i40e: set min and max MTU for VF 2019-03-29 18:59:10 +01:00
i40e_ethdev.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
i40e_ethdev.h net/i40e: fix overwriting RSS RETA 2018-12-13 16:40:25 +00:00
i40e_fdir.c net/i40e: revert fix of flow director check 2018-08-01 15:36:32 +02:00
i40e_flow.c add missing static keyword to globals 2018-10-29 02:01:08 +01:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c net/i40e: update queue number check for rounding 2019-03-20 18:15:42 +01:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_avx2.c net/i40e: fix rearm check in AVX2 Rx 2018-08-01 02:41:29 +02:00
i40e_rxtx_vec_common.h net/i40e: fix Rx instability with vector mode 2018-11-05 16:50:14 +01:00
i40e_rxtx_vec_neon.c net/i40e: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
i40e_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.c net/i40e: fix config name in comment 2018-12-21 16:22:41 +01:00
i40e_rxtx.h net/i40e: check illegal packets 2018-07-03 01:35:58 +02:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c add missing static keyword to globals 2018-10-29 02:01:08 +01:00
Makefile net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00
meson.build net/i40e: fix missing defines for non-AVX build 2018-05-08 22:14:07 +02:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
rte_pmd_i40e.h net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00