summaryrefslogtreecommitdiff
path: root/drivers/net/ring
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2017-07-06 17:47:50 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2017-07-19 11:09:13 +0300
commit1a35dc877a27286e51999f9707115c0cd11712f0 (patch)
tree13455c98f84a8bc4b0eb06fa9ac1e68cdfd7f281 /drivers/net/ring
parent013b83b82e538cdc316c2d56465abf1c96dd0256 (diff)
downloaddpdk-next-eventdev-1a35dc877a27286e51999f9707115c0cd11712f0.zip
dpdk-next-eventdev-1a35dc877a27286e51999f9707115c0cd11712f0.tar.gz
dpdk-next-eventdev-1a35dc877a27286e51999f9707115c0cd11712f0.tar.xz
net/ring: add missing newlines in logs
Some logs are missing the newline character \n. The logs using only one line can be checked with this command: git grep 'RTE_LOG(.*".*[^n]"' drivers/net/ring/ Fixes: 61934c0956d4 ("ring: convert to use of PMD_REGISTER_DRIVER and fix linking") Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'drivers/net/ring')
-rw-r--r--drivers/net/ring/rte_eth_ring.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c
index 820a411..464d3d3 100644
--- a/drivers/net/ring/rte_eth_ring.c
+++ b/drivers/net/ring/rte_eth_ring.c
@@ -494,7 +494,8 @@ static int parse_kvlist (const char *key __rte_unused, const char *value, void *
node = strchr(name, ':');
if (!node) {
- RTE_LOG(WARNING, PMD, "could not parse node value from %s", name);
+ RTE_LOG(WARNING, PMD, "could not parse node value from %s\n",
+ name);
goto out;
}
@@ -503,7 +504,8 @@ static int parse_kvlist (const char *key __rte_unused, const char *value, void *
action = strchr(node, ':');
if (!action) {
- RTE_LOG(WARNING, PMD, "could not action value from %s", node);
+ RTE_LOG(WARNING, PMD, "could not parse action value from %s\n",
+ node);
goto out;
}