numam-dpdk/lib/librte_eventdev
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 build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
meson.build eventdev: fix port id argument in Rx adapter caps 2018-10-01 16:53:13 +02:00
rte_event_crypto_adapter.c cryptodev: rename experimental private data APIs 2018-07-11 03:57:24 +02:00
rte_event_crypto_adapter.h doc: add notes about eventdev producer/consumer dependency 2019-03-15 06:46:50 +01:00
rte_event_eth_rx_adapter.c eventdev: fix error log in eth Rx adapter 2018-12-16 17:22:14 +01:00
rte_event_eth_rx_adapter.h doc: add notes about eventdev producer/consumer dependency 2019-03-15 06:46:50 +01:00
rte_event_eth_tx_adapter.c eventdev: fix eth Tx adapter queue count checks 2018-12-17 20:25:10 +01:00
rte_event_eth_tx_adapter.h mbuf: implement generic format for sched field 2018-12-22 00:22:44 +01:00
rte_event_ring.c event: fix ring init failure handling 2018-08-05 14:52:19 +02:00
rte_event_ring.h eventdev: fix MP/MC tail updates in event ring 2018-04-16 10:10:27 +02:00
rte_event_timer_adapter_pmd.h eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_event_timer_adapter.c eventdev: check timer adapter status before start 2019-04-02 03:10:40 +02:00
rte_event_timer_adapter.h eventdev: check timer adapter status before start 2019-04-02 03:10:40 +02:00
rte_eventdev_pmd_pci.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd_vdev.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd.h lib: reduce global variable usage 2018-10-29 02:34:27 +01:00
rte_eventdev_version.map eventdev: add eth Tx adapter implementation 2018-10-01 16:51:13 +02:00
rte_eventdev.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
rte_eventdev.h eventdev: fix xstats documentation typo 2018-12-16 18:28:07 +01:00