[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <755ba9c1-3e38-850f-12a3-ec20de9166b4@microchip.com>
Date: Mon, 29 Mar 2021 07:38:42 +0000
From: <Codrin.Ciubotariu@...rochip.com>
To: <pierre-louis.bossart@...ux.intel.com>,
<alsa-devel@...a-project.org>
CC: <tiwai@...e.de>, <broonie@...nel.org>,
<linux-kernel@...r.kernel.org>, <lgirdwood@...il.com>,
<perex@...ex.cz>, <tiwai@...e.com>, <Nicolas.Ferre@...rochip.com>,
<alexandre.belloni@...tlin.com>, <Ludovic.Desroches@...rochip.com>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 02/17] ASoC: atmel: fix shadowed variable
On 26.03.2021 23:59, Pierre-Louis Bossart wrote:
> Fix cppcheck warning:
>
> sound/soc/atmel/atmel-classd.c:51:14: style: Local variable 'pwm_type'
> shadows outer variable [shadowVariable]
> const char *pwm_type;
> ^
> sound/soc/atmel/atmel-classd.c:226:27: note: Shadowed declaration
> static const char * const pwm_type[] = {
> ^
> sound/soc/atmel/atmel-classd.c:51:14: note: Shadow variable
> const char *pwm_type;
> ^
>
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@...rochip.com>
Thanks!
Powered by blists - more mailing lists