numam-dpdk/drivers/net/virtio/virtio_user
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
..
vhost_kernel_tap.c net/virtio-user: fix multiqueue with vhost kernel 2019-03-20 18:15:42 +01:00
vhost_kernel_tap.h net/virtio-user: check negotiated features before set 2018-09-12 19:10:09 +02:00
vhost_kernel.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
vhost_user.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
vhost.h net/virtio: fix duplicate naming of include guard 2019-03-29 17:25:32 +01:00
virtio_user_dev.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
virtio_user_dev.h net/virtio-user: fix multi-process support 2019-03-29 17:25:32 +01:00