diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-20 11:56:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-20 21:16:24 +0100 |
commit | 488fb86ee91d3b1182c2e30a9f9b45da14eda46f (patch) | |
tree | bcee7b730a66a4d7853310f8677778ccfb9484e3 /lib/timerqueue.c | |
parent | ebpf, filter: do not convert skb->protocol to host endianess during runtime (diff) | |
download | linux-488fb86ee91d3b1182c2e30a9f9b45da14eda46f.tar.xz linux-488fb86ee91d3b1182c2e30a9f9b45da14eda46f.zip |
rhashtable: Make rhashtable_init params argument const
This patch marks the rhashtable_init params argument const as
there is no reason to modify it since we will always make a copy
of it in the rhashtable.
This patch also fixes a bug where we don't actually round up the
value of min_size unless it is less than HASH_MIN_SIZE.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions