Re: [PATCH 3/3] PCI: hotplug: constify attribute_group structures.

2017-07-11 Thread Tyrel Datwyler
On 07/11/2017 02:28 AM, Arvind Yadav wrote: > attribute_groups are not supposed to change at runtime. All functions > working with attribute_groups provided by work > with const attribute_group. So mark the non-const structs as const. > > File size before: >text data bss dec

[PATCH 3/3] PCI: hotplug: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 418 160 8 586 24a drive