Thread (3 messages) 3 messages, 3 authors, 2016-08-15

Re: [PATCH] rhashtable: fix shift by 64 when shrinking

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-08-15 18:10:48

From: Vegard Nossum <redacted>
Date: Fri, 12 Aug 2016 20:10:44 +0200
I got this:
 ...
roundup_pow_of_two() is undefined when called with an argument of 0, so
let's avoid the call and just fall back to ht->p.min_size (which should
never be smaller than HASH_MIN_SIZE).

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Vegard Nossum <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help