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> |
||
---|---|---|
.. | ||
ark_ddm.c | ||
ark_ddm.h | ||
ark_ethdev_rx.c | ||
ark_ethdev_rx.h | ||
ark_ethdev_tx.c | ||
ark_ethdev_tx.h | ||
ark_ethdev.c | ||
ark_ext.h | ||
ark_global.h | ||
ark_logs.h | ||
ark_mpu.c | ||
ark_mpu.h | ||
ark_pktchkr.c | ||
ark_pktchkr.h | ||
ark_pktdir.c | ||
ark_pktdir.h | ||
ark_pktgen.c | ||
ark_pktgen.h | ||
ark_rqp.c | ||
ark_rqp.h | ||
ark_udm.c | ||
ark_udm.h | ||
Makefile | ||
meson.build | ||
rte_pmd_ark_version.map |