Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703716
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/6] constify misc attribute_group structures. |
| Date | 2017-08-04 08:40 +0200 |
| Message-ID | <uaEr7-3r1-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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. drivers/misc/apds9802als.c | 2 +- drivers/misc/apds990x.c | 2 +- drivers/misc/bh1770glc.c | 2 +- drivers/misc/isl29020.c | 2 +- drivers/misc/lis3lv02d/lis3lv02d.c | 2 +- drivers/misc/ti-st/st_kim.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- 1.9.1
Back to linux.kernel | Previous | Next — Next 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