git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0885cb
)
ring: fix an error message
author
Stephen Hemminger
<stephen@networkplumber.org>
Tue, 2 Apr 2019 15:30:26 +0000
(08:30 -0700)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 3 Apr 2019 16:39:16 +0000
(18:39 +0200)
Log message should end with newline.
Fixes:
4e32101f9b01
("ring: support freeing")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
lib/librte_ring/rte_ring.c
patch
|
blob
|
history
diff --git
a/lib/librte_ring/rte_ring.c
b/lib/librte_ring/rte_ring.c
index
d215ace
..
550549d
100644
(file)
--- a/
lib/librte_ring/rte_ring.c
+++ b/
lib/librte_ring/rte_ring.c
@@
-189,7
+189,8
@@
rte_ring_free(struct rte_ring *r)
* therefore, there is no memzone to free.
*/
if (r->memzone == NULL) {
- RTE_LOG(ERR, RING, "Cannot free ring (not created with rte_ring_create()");
+ RTE_LOG(ERR, RING,
+ "Cannot free ring, not created with rte_ring_create()\n");
return;
}