Re: [PATCH 1/2] ARM: davinci: make the function argument as const

2017-11-27 Thread Sekhar Nori
On Monday 16 October 2017 03:38 PM, Bhumika Goyal wrote: > Make the function argument of the function davinci_common_init > as const as it's memory contents are only copied during a > memcpy call. So, the fields of the structure to which the argument > soc_info points to never gets modified and

Re: [PATCH 1/2] ARM: davinci: make the function argument as const

2017-11-27 Thread Sekhar Nori
On Monday 16 October 2017 03:38 PM, Bhumika Goyal wrote: > Make the function argument of the function davinci_common_init > as const as it's memory contents are only copied during a > memcpy call. So, the fields of the structure to which the argument > soc_info points to never gets modified and

[PATCH 1/2] ARM: davinci: make the function argument as const

2017-10-16 Thread Bhumika Goyal
Make the function argument of the function davinci_common_init as const as it's memory contents are only copied during a memcpy call. So, the fields of the structure to which the argument soc_info points to never gets modified and therefore the argument can be made const. Add const to the

[PATCH 1/2] ARM: davinci: make the function argument as const

2017-10-16 Thread Bhumika Goyal
Make the function argument of the function davinci_common_init as const as it's memory contents are only copied during a memcpy call. So, the fields of the structure to which the argument soc_info points to never gets modified and therefore the argument can be made const. Add const to the