numam-dpdk/drivers/net/ena
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/ena/base: update communication layer for the ENAv2 2018-12-21 16:22:40 +01:00
ena_ethdev.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ena_ethdev.h net/ena: get device info statically 2019-02-20 16:41:43 +01:00
ena_logs.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
ena_platform.h net/ena: implement dynamic logging 2018-01-16 18:47:49 +01:00
Makefile net/ena: add watchdog and keep alive AENQ handler 2018-06-14 19:27:50 +02:00
meson.build net/ena: add to meson build 2018-06-14 19:27:50 +02:00
rte_pmd_ena_version.map ena: add polling-mode driver 2016-03-25 18:56:43 +01:00