Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1723352

Re: [PATCH] RDS: constify rhashtable_params

From "santosh.shilimkar@oracle.com" <santosh.shilimkar@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] RDS: constify rhashtable_params
Date 2017-08-30 16:00 +0200
Message-ID <ukbHc-yr-25@gated-at.bofh.it> (permalink)
References <uk9P4-7OL-11@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


On 8/30/17 4:49 AM, Arvind Yadav wrote:
> rhashtable_params are not supposed to change at runtime. All
> Functions rhashtable_* working with const rhashtable_params
> provided by <linux/rhashtable.h>. So mark the non-const structs
> as const.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
> ---
This is already addressed in net-next by [1]

Regards,
Santosh

[1] https://lkml.org/lkml/2017/8/25/482

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] RDS: constify rhashtable_params Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-30 14:00 +0200
  Re: [PATCH] RDS: constify rhashtable_params "santosh.shilimkar@oracle.com" <santosh.shilimkar@oracle.com> - 2017-08-30 16:00 +0200

csiph-web