Re: [PATCH 02/10] ASoC: madera: align function prototype

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

 



On Wed, Mar 10, 2021 at 06:43:24PM -0600, Pierre-Louis Bossart wrote:
> cppcheck warning:
> 
> sound/soc/codecs/madera.c:3372:51: style:inconclusive: Function
> 'madera_init_dai' argument 2 names different: declaration 'dai'
> definition 'id'. [funcArgNamesDifferent]
> int madera_init_dai(struct madera_priv *priv, int id)
>                                                   ^
> sound/soc/codecs/madera.h:433:51: note: Function 'madera_init_dai'
> argument 2 names different: declaration 'dai' definition 'id'.
> int madera_init_dai(struct madera_priv *priv, int dai);
>                                                   ^
> sound/soc/codecs/madera.c:3372:51: note: Function 'madera_init_dai'
> argument 2 names different: declaration 'dai' definition 'id'.
> int madera_init_dai(struct madera_priv *priv, int id)
>                                                   ^
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
> ---

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux