6723c0fc72
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> |
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_event_crypto_adapter.c | ||
rte_event_crypto_adapter.h | ||
rte_event_eth_rx_adapter.c | ||
rte_event_eth_rx_adapter.h | ||
rte_event_eth_tx_adapter.c | ||
rte_event_eth_tx_adapter.h | ||
rte_event_ring.c | ||
rte_event_ring.h | ||
rte_event_timer_adapter_pmd.h | ||
rte_event_timer_adapter.c | ||
rte_event_timer_adapter.h | ||
rte_eventdev_pmd_pci.h | ||
rte_eventdev_pmd_vdev.h | ||
rte_eventdev_pmd.h | ||
rte_eventdev_version.map | ||
rte_eventdev.c | ||
rte_eventdev.h |