Re: [PATCH 07/10] ASoC: wm8994: align function prototype

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

 



On Wed, Mar 10, 2021 at 06:43:29PM -0600, Pierre-Louis Bossart wrote:
> cppcheck warning:
> 
> sound/soc/codecs/wm8994.c:3923:26: style:inconclusive: Function
> 'wm8958_mic_detect' argument 3 names different: declaration 'cb'
> definition 'det_cb'. [funcArgNamesDifferent]
>         wm1811_micdet_cb det_cb, void *det_cb_data,
>                          ^
> sound/soc/codecs/wm8994.h:53:26: note: Function 'wm8958_mic_detect'
> argument 3 names different: declaration 'cb' definition 'det_cb'.
>         wm1811_micdet_cb cb, void *det_cb_data,
>                          ^
> sound/soc/codecs/wm8994.c:3923:26: note: Function 'wm8958_mic_detect'
> argument 3 names different: declaration 'cb' definition 'det_cb'.
>         wm1811_micdet_cb det_cb, void *det_cb_data,
>                          ^
> 
> 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