Re: [PATCH] pinctrl: qcom: constify tiles properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11-10-18, 07:36, Bjorn Andersson wrote:
> On Thu 11 Oct 05:33 PDT 2018, Vinod Koul wrote:
> 
> > compiler warns:
> > drivers/pinctrl/qcom/pinctrl-qcs404.c:1660:11:
> > 	warning: initialization discards 'const' qualifier
> > 	from pointer target type [-Wdiscarded-qualifiers]
> > 
> > The tiles are array of strings rightly defined as
> > "const char * const qcs404_tiles" so the member holding should also be
> > defined similarly. So update tiles to "const char * const *"
> > 
> > Fixes: 1c1880fb7706 ("pinctrl: qcom: Support dispersed tiles")
> > Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
> 
> Thanks Vinod.
> 
> Linus picked the same fix from Arnd last week, so we're good.

Should have checked before sending, I will pick this up

> https://lore.kernel.org/lkml/20181002211555.2779637-1-arnd@xxxxxxxx/

-- 
~Vinod



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux