numam-dpdk/drivers/net/mvpp2
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
..
Makefile net/mvpp2: support traffic manager 2018-09-28 01:41:03 +02:00
meson.build net/mvpp2: support traffic manager 2018-09-28 01:41:03 +02:00
mrvl_ethdev.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
mrvl_ethdev.h net/mvpp2: support Tx scatter/gather 2018-09-28 01:41:03 +02:00
mrvl_flow.c net/mvpp2: align with MUSDK 18.09 2018-09-28 01:41:03 +02:00
mrvl_flow.h net/mvpp2: add init and deinit to flow 2018-09-28 01:41:03 +02:00
mrvl_mtr.c drivers: fix SPDX license id consistency 2019-03-29 00:15:53 +01:00
mrvl_mtr.h net/mvpp2: support metering 2018-09-28 01:41:03 +02:00
mrvl_qos.c net/mvpp2: align with MUSDK 18.09 2018-09-28 01:41:03 +02:00
mrvl_qos.h net/mvpp2: change default policer configuration 2018-09-28 01:41:03 +02:00
mrvl_tm.c net/mvpp2: support traffic manager 2018-09-28 01:41:03 +02:00
mrvl_tm.h net/mvpp2: support traffic manager 2018-09-28 01:41:03 +02:00
rte_pmd_mvpp2_version.map net/mvpp2: rename version map file to standard 2018-04-17 16:40:09 +02:00