Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1720108
| From | Bhumika Goyal <bhumirks@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/7] RDS: make rhashtable_params const |
| Date | 2017-08-25 16:30 +0200 |
| Message-ID | <uinMu-5ah-21@gated-at.bofh.it> (permalink) |
| References | <uinMt-5ah-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/7] net: make some structures const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
[PATCH 2/7] bridge: make ebt_table const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
Re: [PATCH 2/7] bridge: make ebt_table const David Miller <davem@davemloft.net> - 2017-08-28 20:40 +0200
[PATCH 7/7] SUNRPC: make kvec const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
Re: [PATCH 7/7] SUNRPC: make kvec const Jeff Layton <jlayton@redhat.com> - 2017-08-25 16:50 +0200
[PATCH 5/7] RDS: make rhashtable_params const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
Re: [PATCH 5/7] RDS: make rhashtable_params const Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2017-08-25 17:40 +0200
Re: [PATCH 5/7] RDS: make rhashtable_params const David Miller <davem@davemloft.net> - 2017-08-28 20:40 +0200
[PATCH 6/7] netfilter: nat: make rhashtable_params const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
[PATCH 1/7] Bluetooth: 6lowpan: make header_ops const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
[PATCH 3/7] ieee802154: 6lowpan: make header_ops const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
Re: [PATCH 3/7] ieee802154: 6lowpan: make header_ops const Stefan Schmidt <stefan@osg.samsung.com> - 2017-08-25 16:40 +0200
Re: [PATCH 3/7] ieee802154: 6lowpan: make header_ops const Marcel Holtmann <marcel@holtmann.org> - 2017-08-25 18:20 +0200
[PATCH 4/7] ipv4: make net_protocol const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-25 16:30 +0200
Re: [PATCH 4/7] ipv4: make net_protocol const David Miller <davem@davemloft.net> - 2017-08-28 20:40 +0200
csiph-web