[v1] kvargs: fix strcmp helper documentation

Message ID 20200513104229.45900-1-grive@u256.net (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [v1] kvargs: fix strcmp helper documentation |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-nxp-Performance success Performance Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-testing fail Testing issues

Commit Message

Gaëtan Rivet May 13, 2020, 10:42 a.m. UTC
  Minor error, unless was used instead of unlike.

Cc: stable@dpdk.org
Fixes: a3b85476c51e ("kvargs: add generic string matching callback")
Signed-off-by: Gaetan Rivet <grive@u256.net>
---
 lib/librte_kvargs/rte_kvargs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Thomas Monjalon May 19, 2020, 9:53 a.m. UTC | #1
13/05/2020 12:42, Gaetan Rivet:
> Minor error, unless was used instead of unlike.
> 
> Cc: stable@dpdk.org
> Fixes: a3b85476c51e ("kvargs: add generic string matching callback")
> Signed-off-by: Gaetan Rivet <grive@u256.net>

Applied, thanks
  

Patch

diff --git a/lib/librte_kvargs/rte_kvargs.h b/lib/librte_kvargs/rte_kvargs.h
index 1946195de..eff598e08 100644
--- a/lib/librte_kvargs/rte_kvargs.h
+++ b/lib/librte_kvargs/rte_kvargs.h
@@ -171,7 +171,7 @@  unsigned rte_kvargs_count(const struct rte_kvargs *kvlist,
  *   0 if the strings match.
  *   !0 otherwise or on error.
  *
- *   Unless strcmp, comparison ordering is not kept.
+ *   Unlike strcmp, comparison ordering is not kept.
  *   In order for rte_kvargs_process to stop processing on match error,
  *   a negative value is returned even if strcmp had returned a positive one.
  */