Re: [PATCH 0/3] constify pci attribute_group structures.

2017-07-12 Thread Bjorn Helgaas
On Tue, Jul 11, 2017 at 02:57:06PM +0530, 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. > > Arvind Yadav (3): > [PATCH 1/3] PCI: p

[PATCH 0/3] constify pci 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. Arvind Yadav (3): [PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures. [PATCH 2/3] PCI: pci-labe

[PATCH 0/3] constify pci 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. Arvind Yadav (3): [PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures. [PATCH 2/3] PCI: pci-labe