numam-dpdk/drivers/net/ark
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
..
ark_ddm.c net/ark: support updated hardware and Tx meta data 2018-10-18 10:24:39 +02:00
ark_ddm.h net/ark: support updated hardware and Tx meta data 2018-10-18 10:24:39 +02:00
ark_ethdev_rx.c net/ark: remove useless hardware notifications 2018-10-18 10:24:39 +02:00
ark_ethdev_rx.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_ethdev_tx.c net/ark: support updated hardware and Tx meta data 2018-10-18 10:24:39 +02:00
ark_ethdev_tx.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_ethdev.c ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
ark_ext.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_global.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_logs.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_mpu.c net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_mpu.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_pktchkr.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ark_pktchkr.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_pktdir.c net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_pktdir.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_pktgen.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ark_pktgen.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_rqp.c net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_rqp.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_udm.c net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
ark_udm.h net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
Makefile build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
meson.build net/ark: add to meson build 2018-06-14 19:27:50 +02:00
rte_pmd_ark_version.map net/ark: stub PMD for Atomic Rules Arkville 2017-04-19 15:37:37 +02:00