Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1702681
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/3] constify char attribute_group structures |
| Date | 2017-08-03 07:40 +0200 |
| Message-ID | <uah1v-3Ru-9@gated-at.bofh.it> (permalink) |
| References | <u9ZR1-HD-15@gated-at.bofh.it> <ua666-4EJ-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@gmail.com] > Sent: Wednesday, August 2, 2017 4:19 AM > To: arnd@arndb.de; gregkh@linuxfoundation.org; Gross, Mark <mark.gross@intel.com> > Cc: linux-kernel@vger.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 >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] constify char attribute_group structures Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-02 13:20 +0200
RE: [PATCH 0/3] constify char attribute_group structures "Gross, Mark" <mark.gross@intel.com> - 2017-08-02 20:00 +0200
Re: [PATCH 0/3] constify char attribute_group structures Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 07:40 +0200
RE: [PATCH 0/3] constify char attribute_group structures "Gross, Mark" <mark.gross@intel.com> - 2017-08-03 14:40 +0200
csiph-web