numam-dpdk/drivers/net
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
..
af_packet replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ark replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
atlantic replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
avp fix indentation in symbol maps 2018-11-26 20:16:46 +01:00
axgbe drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
bnx2x replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
bnxt replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
bonding replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
cxgbe net/cxgbe: fix missing checksum flags and packet type 2019-03-21 20:45:59 +01:00
dpaa replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
dpaa2 replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
e1000 replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ena replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
enetc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
enic net/enic: fix max MTU calculation 2019-03-20 18:15:42 +01:00
failsafe replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
fm10k net/fm10k: fix VLAN strip offload flag 2019-03-29 17:25:32 +01:00
i40e replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
iavf net/iavf: rename remaining avf strings 2019-03-01 18:17:35 +01:00
ice replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ifc vhost: remove vDPA available ring relay helper 2019-02-08 19:27:07 +01:00
ixgbe replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
kni replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
liquidio replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
mlx4 net/mlx4: fix default flow rule create 2019-03-08 17:52:22 +01:00
mlx5 net/mlx5: add source vport match to the ingress rules 2019-03-29 17:25:32 +01:00
mvneta replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
mvpp2 replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
netvsc net/netvsc: remove useless condition 2019-03-29 17:25:32 +01:00
nfp net/nfp: support setting link up/down 2019-03-29 17:25:32 +01:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx net/octeontx: fix vdev name 2019-03-20 18:15:42 +01:00
pcap replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
qede replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
ring replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
sfc net/sfc: fix speed capabilities reported in device info 2019-03-21 18:57:09 +01:00
softnic replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
thunderx net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
vdev_netvsc net/vdev_netvsc: fix device cast 2019-03-29 17:25:31 +01:00
vhost net/vhost: fix double free of MAC address 2018-12-21 16:22:41 +01:00
virtio replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
vmxnet3 drivers/net: fix several Tx prepare functions 2018-12-13 17:53:50 +00:00
Makefile net/iavf: rename remaining avf strings 2019-03-01 18:17:35 +01:00
meson.build net/iavf: rename avf to iavf 2019-03-01 18:17:35 +01:00