mbox series

[0/2] ethdev: use strlcpy

Message ID 20190228224754.26511-1-stephen@networkplumber.org (mailing list archive)
Headers
Series ethdev: use strlcpy |

Message

Stephen Hemminger Feb. 28, 2019, 10:47 p.m. UTC
  A couple of places in ethdev are clearer if strlcpy is used.

Stephen Hemminger (2):
  ethdev: replace snprintf with strlcpy
  ethdev: use strlcpy instead of snprintf on initialization

 lib/librte_ethdev/rte_ethdev.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
  

Comments

Ferruh Yigit March 13, 2019, 6:17 p.m. UTC | #1
On 2/28/2019 10:47 PM, Stephen Hemminger wrote:
> A couple of places in ethdev are clearer if strlcpy is used.
> 
> Stephen Hemminger (2):
>   ethdev: replace snprintf with strlcpy
>   ethdev: use strlcpy instead of snprintf on initialization

Series applied to dpdk-next-net/master, thanks.

(2/2 updated as suggested while merging.)