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:
parent
156705307c
commit
2d32fef70b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user