[PATCH] clk: wm831x: fix checkpatch issue for static const char * array

Barry Song 21cnbao at gmail.com
Thu Jul 5 22:37:19 EDT 2012


2012/7/4 Mark Brown <broonie at opensource.wolfsonmicro.com>:
> On Wed, Jul 04, 2012 at 05:54:40PM +0800, Barry Song wrote:
>> From: Barry Song <Baohua.Song at csr.com>
>>
>> static const char * array should probably be static const char * const
>
> We need some additional clock API patches to get merged before this is
> OK, last time I checked the API wasn't const correct enough for it.
>
ok. also with this conflict: "warning: initialization discards
qualifiers from pointer target type"



More information about the linux-arm-kernel mailing list