lkml.org 
[lkml]   [2021]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 02/17] ASoC: atmel: fix shadowed variable
Date
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@linux.intel.com>

Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

Thanks!
\
 
 \ /
  Last update: 2021-03-29 09:39    [W:0.293 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site