mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
RDS: make rhashtable_params const
Make this const as it is either used during a copy operation or passed to a const argument of the function rhltable_init Signed-off-by: Bhumika Goyal <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
aa8db499ea
commit
8209432a5e
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
static struct rhashtable bind_hash_table;
|
||||
|
||||
static struct rhashtable_params ht_parms = {
|
||||
static const struct rhashtable_params ht_parms = {
|
||||
.nelem_hint = 768,
|
||||
.key_len = sizeof(u64),
|
||||
.key_offset = offsetof(struct rds_sock, rs_bound_key),
|
||||
|
|
|
|||
Loading…
Reference in a new issue