From: Shreyansh Jain Date: Thu, 12 Apr 2018 12:33:58 +0000 (+0530) Subject: hash: fix comment for lookup X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0da959d484c852ed80a9e83ece3ff916aa7d3b75;p=dpdk.git hash: fix comment for lookup 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 Acked-by: Pablo de Lara --- diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h index 3beaca71c5..f71ca9fbf6 100644 --- 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.