From: Stephen Hemminger Date: Fri, 7 Mar 2014 18:13:38 +0000 (-0800) Subject: hash: make arg for jhash2 const X-Git-Tag: spdx-start~10908 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2d32fef70bf35238a7f175d5aa47c05d1a1267f2;p=dpdk.git hash: make arg for jhash2 const The argument to rte_jhash2() is not changed. Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon --- diff --git a/lib/librte_hash/rte_jhash.h b/lib/librte_hash/rte_jhash.h index e137d13d4e..ae91bf7db2 100644 --- a/lib/librte_hash/rte_jhash.h +++ b/lib/librte_hash/rte_jhash.h @@ -149,7 +149,7 @@ rte_jhash(const void *key, uint32_t length, uint32_t initval) * Calculated hash value. */ static inline uint32_t -rte_jhash2(uint32_t *k, uint32_t length, uint32_t initval) +rte_jhash2(const uint32_t *k, uint32_t length, uint32_t initval) { uint32_t a, b, c, len;