Patchwork [dpdk-dev] mbuf: fix a typo

login
register
mail settings
Submitter Rami Rosen
Date Feb. 11, 2019, 6:52 p.m.
Message ID <20190211185218.13067-1-ramirose@gmail.com>
Download mbox | patch
Permalink /patch/723249/
State New
Headers show

Comments

Rami Rosen - Feb. 11, 2019, 6:52 p.m.
This trivial patch fixes a typo in rte_mbuf.h.

Fixes: f20b50b946da ("mbuf: optimize refcnt update")
Cc: stable@dpdk.org 
Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 lib/librte_mbuf/rte_mbuf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Thomas Monjalon - Feb. 12, 2019, 1:32 p.m.
11/02/2019 19:52, Rami Rosen:
> This trivial patch fixes a typo in rte_mbuf.h.
> 
> Fixes: f20b50b946da ("mbuf: optimize refcnt update")
> Cc: stable@dpdk.org 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied, thanks

Patch

diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index a7f67023a..d961ccaf6 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -973,7 +973,7 @@  rte_mbuf_refcnt_update(struct rte_mbuf *m, int16_t value)
 {
 	/*
 	 * The atomic_add is an expensive operation, so we don't want to
-	 * call it in the case where we know we are the uniq holder of
+	 * call it in the case where we know we are the unique holder of
 	 * this mbuf (i.e. ref_cnt == 1). Otherwise, an atomic
 	 * operation has to be used because concurrent accesses on the
 	 * reference counter can occur.