Re: [PATCH v2] staging: unisys: visorbus: Constify attribute_group structures.

From: Greg KH
Date: Tue Jul 18 2017 - 02:51:05 EST


On Tue, Jul 18, 2017 at 10:54:21AM +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@xxxxxxxxx>
> ---
> Changes in v2:
> Change log typo was not correct.
>
> drivers/staging/unisys/visorbus/visorbus_main.c | 4 ++--
> drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)

Does not apply to my tree at all anymore, probably due to other visorbus
patches I just took :(

Please rebase and resend.

thanks,

greg k-h