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:
4f512a1
)
hash: fix comment for lookup
author
Shreyansh Jain
<shreyansh.jain@nxp.com>
Thu, 12 Apr 2018 12:33:58 +0000
(18:03 +0530)
committer
Thomas Monjalon
<thomas@monjalon.net>
Sun, 15 Apr 2018 13:07:11 +0000
(15:07 +0200)
rte_hash_lookup_with_hash() has wrong comment for its 'sig' param.
Fixes:
1a9f648be291
("hash: fix for multi-process apps")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_hash/rte_hash.h
patch
|
blob
|
history
diff --git
a/lib/librte_hash/rte_hash.h
b/lib/librte_hash/rte_hash.h
index
3beaca7
..
f71ca9f
100644
(file)
--- a/
lib/librte_hash/rte_hash.h
+++ b/
lib/librte_hash/rte_hash.h
@@
-328,7
+328,7
@@
rte_hash_lookup(const struct rte_hash *h, const void *key);
* @param key
* Key to find.
* @param sig
- *
Hash value to remove from the hash table
.
+ *
Precomputed hash value for 'key'
.
* @return
* - -EINVAL if the parameters are invalid.
* - -ENOENT if the key is not found.