hash: make arg for jhash2 const

The argument to rte_jhash2() is not changed.

Signed-off-by: Stephen Hemminger <shemming@brocade.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Stephen Hemminger 2014-03-07 10:13:38 -08:00 committed by Thomas Monjalon
parent 156705307c
commit 2d32fef70b

View File

@ -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;