[PATCH 01/10] ASoC: arizona: fix function argument
Charles Keepax
ckeepax at opensource.cirrus.com
Thu Mar 11 10:22:05 CET 2021
On Wed, Mar 10, 2021 at 06:43:23PM -0600, Pierre-Louis Bossart wrote:
> Cppcheck warning:
>
> sound/soc/codecs/arizona.c:2042:53: style:inconclusive: Function
> 'arizona_init_dai' argument 2 names different: declaration 'dai'
> definition 'id'. [funcArgNamesDifferent]
> int arizona_init_dai(struct arizona_priv *priv, int id)
> ^
> sound/soc/codecs/arizona.h:320:53: note: Function 'arizona_init_dai'
> argument 2 names different: declaration 'dai' definition 'id'.
> int arizona_init_dai(struct arizona_priv *priv, int dai);
> ^
> sound/soc/codecs/arizona.c:2042:53: note: Function 'arizona_init_dai'
> argument 2 names different: declaration 'dai' definition 'id'.
> int arizona_init_dai(struct arizona_priv *priv, int id)
> ^
>
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list