From: Bhumika Goyal Date: Fri, 25 Aug 2017 14:21:45 +0000 (+0530) Subject: RDS: make rhashtable_params const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8209432a5e60f6e8b5ea1eda91c51c427d57c10c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Santosh Shilimkar Signed-off-by: David S. Miller --- 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),