summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-25 19:51:45 +0530
committerDavid S. Miller <davem@davemloft.net>2017-08-28 11:30:02 -0700
commit8209432a5e60f6e8b5ea1eda91c51c427d57c10c (patch)
tree69a89da01df6c7f605e95645e2eb56329dacf6a7
parentaa8db499ea67cff1f5f049033810ffede2fe5ae4 (diff)
downloadlinux-rpi3-8209432a5e60f6e8b5ea1eda91c51c427d57c10c.tar.gz
linux-rpi3-8209432a5e60f6e8b5ea1eda91c51c427d57c10c.tar.bz2
linux-rpi3-8209432a5e60f6e8b5ea1eda91c51c427d57c10c.zip
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 <bhumirks@gmail.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/rds/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/bind.c b/net/rds/bind.c
index 3a915bedb76c..75d43dc8e96b 100644
--- a/net/rds/bind.c
+++ b/net/rds/bind.c
@@ -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),