[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <24f4fc72-47d9-ce26-18cf-abd8f5af4bcf@gmail.com>
Date: Thu, 3 Aug 2017 11:04:33 +0530
From: Arvind Yadav <arvind.yadav.cs@...il.com>
To: "Gross, Mark" <mark.gross@...el.com>,
"arnd@...db.de" <arnd@...db.de>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/3] constify char attribute_group structures
Hi Mark,
On Wednesday 02 August 2017 11:26 PM, Gross, Mark wrote:
> Why stop at these 3 users of attribute_group?
I am doing for all. This changes is only for char user. Few patch are
under review and few are merged. Rest all I will send.
~arvind
> --mark
>
> -----Original Message-----
> From: Arvind Yadav [mailto:arvind.yadav.cs@...il.com]
> Sent: Wednesday, August 2, 2017 4:19 AM
> To: arnd@...db.de; gregkh@...uxfoundation.org; Gross, Mark <mark.gross@...el.com>
> Cc: linux-kernel@...r.kernel.org
> Subject: [PATCH 0/3] constify char attribute_group structures
>
> 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.
>
> Arvind Yadav (3):
> [PATCH 1/3] char: tlclk: constify attribute_group structures.
> [PATCH 2/3] char: tpm: constify attribute_group structures.
> [PATCH 3/3] char: virtio: constify attribute_group structures.
>
> drivers/char/tlclk.c | 2 +-
> drivers/char/tpm/tpm_ppi.c | 2 +-
> drivers/char/virtio_console.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> --
> 1.9.1
>
Powered by blists - more mailing lists