dpdk-fm10k/devtools/cocci
Bruce Richardson 277b6e7ef4 devtools/cocci: create safer version of strlcpy script
The existing cocci script for coccinelle replaces all matching instances
of snprintf() with strlcpy() without regards to header inclusion. To allow
changes without build errors, we create a safer version of this script
that only makes changes when the rte_string_fns.h header is already
included.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-04-04 22:45:33 +02:00
..
mtod-offset.cocci fix typos using codespell utility 2017-06-14 23:54:13 +02:00
strlcpy-with-header.cocci devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
strlcpy.cocci devtools/cocci: make strlcpy replacement smarter 2019-04-04 22:44:02 +02:00