linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bhumika Goyal <bhumirks@gmail.com>
To: julia.lawall@lip6.fr, marcel@holtmann.org, gustavo@padovan.org,
	johan.hedberg@gmail.com, davem@davemloft.net,
	pablo@netfilter.org, kadlec@blackhole.kfki.hu, fw@strlen.de,
	stephen@networkplumber.org, alex.aring@gmail.com,
	stefan@osg.samsung.com, kuznet@ms2.inr.ac.ru,
	yoshfuji@linux-ipv6.org, santosh.shilimkar@oracle.com,
	trond.myklebust@primarydata.com, anna.schumaker@netapp.com,
	bfields@fieldses.org, jlayton@poochiereds.net,
	linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org,
	coreteam@netfilter.org, bridge@lists.linux-foundation.org,
	linux-wpan@vger.kernel.org, linux-rdma@vger.kernel.org,
	rds-devel@oss.oracle.com, linux-nfs@vger.kernel.org
Cc: Bhumika Goyal <bhumirks@gmail.com>
Subject: [PATCH 5/7] RDS: make rhashtable_params const
Date: Fri, 25 Aug 2017 19:51:45 +0530	[thread overview]
Message-ID: <1503670907-23221-6-git-send-email-bhumirks@gmail.com> (raw)
In-Reply-To: <1503670907-23221-1-git-send-email-bhumirks@gmail.com>

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>
---
 net/rds/bind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/rds/bind.c b/net/rds/bind.c
index 3a915be..75d43dc 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),
-- 
1.9.1

  parent reply	other threads:[~2017-08-25 14:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25 14:21 [PATCH 0/7] net: make some structures const Bhumika Goyal
2017-08-25 14:21 ` [PATCH 1/7] Bluetooth: 6lowpan: make header_ops const Bhumika Goyal
2017-08-25 14:21 ` [PATCH 2/7] bridge: make ebt_table const Bhumika Goyal
2017-08-28 18:30   ` David Miller
2017-08-25 14:21 ` [PATCH 3/7] ieee802154: 6lowpan: make header_ops const Bhumika Goyal
2017-08-25 14:36   ` Stefan Schmidt
2017-08-25 16:17   ` Marcel Holtmann
2017-08-25 14:21 ` [PATCH 4/7] ipv4: make net_protocol const Bhumika Goyal
2017-08-28 18:30   ` David Miller
2017-08-25 14:21 ` Bhumika Goyal [this message]
2017-08-25 15:31   ` [PATCH 5/7] RDS: make rhashtable_params const Santosh Shilimkar
2017-08-28 18:30   ` David Miller
2017-08-25 14:21 ` [PATCH 6/7] netfilter: nat: " Bhumika Goyal
2017-08-25 14:21 ` [PATCH 7/7] SUNRPC: make kvec const Bhumika Goyal
2017-08-25 14:48   ` Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503670907-23221-6-git-send-email-bhumirks@gmail.com \
    --to=bhumirks@gmail.com \
    --cc=alex.aring@gmail.com \
    --cc=anna.schumaker@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=bridge@lists.linux-foundation.org \
    --cc=coreteam@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=fw@strlen.de \
    --cc=gustavo@padovan.org \
    --cc=jlayton@poochiereds.net \
    --cc=johan.hedberg@gmail.com \
    --cc=julia.lawall@lip6.fr \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linux-wpan@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=rds-devel@oss.oracle.com \
    --cc=santosh.shilimkar@oracle.com \
    --cc=stefan@osg.samsung.com \
    --cc=stephen@networkplumber.org \
    --cc=trond.myklebust@primarydata.com \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).