Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-04-23 Thread Uwe Kleine-König
Halli, On Thu, Apr 23, 2015 at 10:35:38AM +0200, Sascha Hauer wrote: > The clk functions and structs declare the parent_name arrays as > 'const char **parent_names' which means the parent name strings > are const, but the array itself is not. Use > 'const char * const * parent_names' instead

[PATCH 1/6] clk: make strings in parent name arrays const

2015-04-23 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

[PATCH 1/6] clk: make strings in parent name arrays const

2015-04-23 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-04-23 Thread Uwe Kleine-König
Halli, On Thu, Apr 23, 2015 at 10:35:38AM +0200, Sascha Hauer wrote: The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-04-09 Thread Krzysztof Kozlowski
2015-03-31 20:16 GMT+02:00 Sascha Hauer : > The clk functions and structs declare the parent_name arrays as > 'const char **parent_names' which means the parent name strings > are const, but the array itself is not. Use > 'const char * const * parent_names' instead which also makes > the array

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-04-09 Thread Krzysztof Kozlowski
2015-03-31 20:16 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-31 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-31 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Sascha Hauer
On Mon, Mar 30, 2015 at 11:20:31AM -0700, Joe Perches wrote: > On Mon, 2015-03-30 at 20:16 +0200, Sascha Hauer wrote: > > On Mon, Mar 30, 2015 at 10:55:19AM -0700, Joe Perches wrote: > > > On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: > > > > The clk functions and structs declare the

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Joe Perches
On Mon, 2015-03-30 at 20:16 +0200, Sascha Hauer wrote: > On Mon, Mar 30, 2015 at 10:55:19AM -0700, Joe Perches wrote: > > On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: > > > The clk functions and structs declare the parent_name arrays as > > > 'const char **parent_names' which means the

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Sascha Hauer
On Mon, Mar 30, 2015 at 10:55:19AM -0700, Joe Perches wrote: > On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: > > The clk functions and structs declare the parent_name arrays as > > 'const char **parent_names' which means the parent name strings > > are const, but the array itself is not.

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Joe Perches
On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: > The clk functions and structs declare the parent_name arrays as > 'const char **parent_names' which means the parent name strings > are const, but the array itself is not. Use > 'const char * const * parent_names' instead which also makes >

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Joe Perches
On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Joe Perches
On Mon, 2015-03-30 at 20:16 +0200, Sascha Hauer wrote: On Mon, Mar 30, 2015 at 10:55:19AM -0700, Joe Perches wrote: On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Sascha Hauer
On Mon, Mar 30, 2015 at 11:20:31AM -0700, Joe Perches wrote: On Mon, 2015-03-30 at 20:16 +0200, Sascha Hauer wrote: On Mon, Mar 30, 2015 at 10:55:19AM -0700, Joe Perches wrote: On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: The clk functions and structs declare the parent_name

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-30 Thread Sascha Hauer
On Mon, Mar 30, 2015 at 10:55:19AM -0700, Joe Perches wrote: On Mon, 2015-03-30 at 19:40 +0200, Sascha Hauer wrote: The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-27 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-27 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-19 Thread Uwe Kleine-König
Hello, On Thu, Mar 19, 2015 at 09:42:05AM +0100, Sascha Hauer wrote: > The clk functions and structs declare the parent_name arrays as > 'const char **parent_names' which means the parent name strings > are const, but the array itself is not. Use > 'const char * const * parent_names' instead

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-19 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

Re: [PATCH 1/6] clk: make strings in parent name arrays const

2015-03-19 Thread Uwe Kleine-König
Hello, On Thu, Mar 19, 2015 at 09:42:05AM +0100, Sascha Hauer wrote: The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-19 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays