Re: [PATCH v3 1/3] staging: lustre: constify attribute_group structures.

2017-07-21 Thread Dan Carpenter
On Fri, Jul 21, 2017 at 11:29:51AM +0530, Arvind Yadav wrote: > Changes in v3: > typo error in cover-latter. The cover letter gets discarded so no one cares. regards, dan carpenter

Re: [PATCH v3 1/3] staging: lustre: constify attribute_group structures.

2017-07-21 Thread Dan Carpenter
On Fri, Jul 21, 2017 at 11:29:51AM +0530, Arvind Yadav wrote: > Changes in v3: > typo error in cover-latter. The cover letter gets discarded so no one cares. regards, dan carpenter

[PATCH v3 1/3] staging: lustre: constify attribute_group structures.

2017-07-21 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 9489 992 40 105212919

[PATCH v3 1/3] staging: lustre: constify attribute_group structures.

2017-07-21 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 9489 992 40 105212919