[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160614123529.GY20422@localhost.localdomain>
Date: Tue, 14 Jun 2016 13:35:29 +0100
From: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
To: Arnd Bergmann <arnd@...db.de>
CC: Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Richard Fitzgerald <rf@...nsource.wolfsonmicro.com>,
Nikesh Oswal <Nikesh.Oswal@...rus.com>,
<patches@...nsource.wolfsonmicro.com>,
<alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] ASoC: remove one extraneous 'const'
On Tue, Jun 14, 2016 at 12:17:52PM +0200, Arnd Bergmann wrote:
> A recent commit made a few arrays 'const', but also added the
> same attribute to a function return type, where it makes no
> sense, and we get a warning when building with W=1:
>
> sound/soc/codecs/arizona.c:1725:27: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
> static const char * const arizona_dai_clk_str(int clk_id)
>
> This removes it again.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Fixes: a3178a3ed798 ("ASoC: arizona: Add a couple of missing consts")
> ---
Oops.. got a bit overzealous there, thanks for fixing.
Acked-by: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
Thanks,
Charles
Powered by blists - more mailing lists