git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethdev: add access to EEPROM
[dpdk.git]
/
drivers
/
net
/
mvpp2
/
mrvl_qos.c
diff --git
a/drivers/net/mvpp2/mrvl_qos.c
b/drivers/net/mvpp2/mrvl_qos.c
index
741d3da
..
70d000c
100644
(file)
--- a/
drivers/net/mvpp2/mrvl_qos.c
+++ b/
drivers/net/mvpp2/mrvl_qos.c
@@
-242,7
+242,7
@@
get_entry_values(const char *entry, uint8_t *tab,
return -1;
/* Copy the entry to safely use rte_strsplit(). */
- s
nprintf(entry_cpy, RTE_DIM(entry_cpy), "%s", entry
);
+ s
trlcpy(entry_cpy, entry, RTE_DIM(entry_cpy)
);
/*
* If there are more tokens than array size, rte_strsplit will