Re: [PATCH] hwtracing: coresight: constify attribute_group structures.

2017-07-10 Thread Mathieu Poirier
On 4 July 2017 at 23:49, 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 h

Re: [PATCH] hwtracing: coresight: constify attribute_group structures.

2017-07-09 Thread Arvind Yadav
Hi Mathieu, On Friday 07 July 2017 08:58 PM, Mathieu Poirier wrote: On 4 July 2017 at 23:49, 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 c

Re: [PATCH] hwtracing: coresight: constify attribute_group structures.

2017-07-07 Thread Mathieu Poirier
On 4 July 2017 at 23:49, 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 h

[PATCH] hwtracing: coresight: constify attribute_group structures.

2017-07-04 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: text data bss dec hex filename 2573 288 2963157 c55 cores