Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703116
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] constify firmware attribute_group structures. |
| Date | 2017-08-03 15:40 +0200 |
| Message-ID | <uaow2-Bh-9@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 (3): [PATCH 1/3] firmware: dcdbas: constify attribute_group structures. [PATCH 2/3] firmware: efi: constify attribute_group structures. [PATCH 3/3] firmware: efi: esrt: constify attribute_group structures. drivers/firmware/dcdbas.c | 2 +- drivers/firmware/efi/efi.c | 2 +- drivers/firmware/efi/esrt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/3] constify firmware attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 15:40 +0200 [PATCH 2/3] firmware: efi: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 15:40 +0200 [PATCH 1/3] firmware: dcdbas: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 15:40 +0200 [PATCH 3/3] firmware: efi: esrt: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 15:40 +0200
csiph-web