Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703812
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/6] constify misc attribute_group structures. |
| Date | 2017-08-04 11:20 +0200 |
| Message-ID | <uaGVX-56P-1@gated-at.bofh.it> (permalink) |
| References | <uaEr7-3r1-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Aug 4, 2017 at 8:37 AM, Arvind Yadav <arvind.yadav.cs@gmail.com> 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.
>
> Arvind Yadav (6):
> [PATCH 1/6] misc: apds9802als: constify attribute_group structures.
> [PATCH 2/6] misc: apds990x: constify attribute_group structures.
> [PATCH 3/6] misc: bh1770glc: constify attribute_group structures.
> [PATCH 4/6] misc: isl29020: constify attribute_group structures.
> [PATCH 5/6] misc: lis3lv02d: constify attribute_group structures.
> [PATCH 6/6] misc: ti-st: constify attribute_group structures.
Looks good to me, thanks
Arnd
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/6] constify misc attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 08:40 +0200 [PATCH 1/6] misc: apds9802als: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 08:50 +0200 Re: [PATCH 0/6] constify misc attribute_group structures. Arnd Bergmann <arnd@arndb.de> - 2017-08-04 11:20 +0200
csiph-web