Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1698039
| From | Christopher Lameter <cl@linux.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/5] mm: slub: constify attribute_group structures. |
| Date | 2017-07-27 16:40 +0200 |
| Message-ID | <u7S7g-7g8-33@gated-at.bofh.it> (permalink) |
| References | <u7PM5-5VR-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 27 Jul 2017, Arvind Yadav 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. Acked-by: Christoph Lameter <cl@linux.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/5] mm: slub: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-07-27 14:10 +0200 Re: [PATCH 2/5] mm: slub: constify attribute_group structures. Christopher Lameter <cl@linux.com> - 2017-07-27 16:40 +0200
csiph-web