[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170718080023.GA27652@kroah.com>
Date: Tue, 18 Jul 2017 10:00:23 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: david.kershner@...sys.com, Timothy.Sell@...sys.com,
bryan.thompson@...sys.com, jon.frisch@...sys.com,
david.binder@...sys.com, sparmaintainer@...sys.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] staging: unisys: visorbus: Constify attribute_group
structures.
On Tue, Jul 18, 2017 at 01:24:42PM +0530, Arvind Yadav wrote:
> attribute_group are not supposed to change at runtime. All functions
> working with attribute_group provided by <linux/sysfs.h> work
> with const attribute_group. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
> ---
> drivers/staging/unisys/visorbus/visorbus_main.c | 4 ++--
> drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
What changed from the previous patches? Always include that below the
--- line as maintainers have no short-term memory at all.
v4?
thanks,
greg k-h
Powered by blists - more mailing lists