Re: [PATCH] drm/i915: fix kernel-doc warnings in intel_audio.c

Jani Nikula
2015-09-18T11:20:29Z

On Tue, 15 Sep 2015, Geliang Tang <geliangtang@163.com> wrote:
> Fix the following 'make htmldocs' warnings:
>
> .//drivers/gpu/drm/i915/intel_audio.c:439: warning: No description found for parameter 'intel_encoder'
> .//drivers/gpu/drm/i915/intel_audio.c:439: warning: Excess function parameter 'encoder' description in 'intel_audio_codec_disable'
> .//drivers/gpu/drm/i915/intel_audio.c:439: warning: No description found for parameter 'intel_encoder'
> .//drivers/gpu/drm/i915/intel_audio.c:439: warning: Excess function parameter 'encoder' description in 'intel_audio_codec_disable'
>
> Signed-off-by: Geliang Tang <geliangtang@163.com>

Pushed to drm-intel-fixes, thanks for the patch.

BR,
Jani.

> ---
> drivers/gpu/drm/i915/intel_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c
> index f73de0b..e35997e 100644
> --- a/drivers/gpu/drm/i915/intel_audio.c
> +++ b/drivers/gpu/drm/i915/intel_audio.c
> @@ -430,7 +430,7 @@ void intel_audio_codec_enable(struct intel_encoder *intel_encoder)
>
> /**
> * intel_audio_codec_disable - Disable the audio codec for HD audio
> - * @encoder: encoder on which to disable audio
> + * @intel_encoder: encoder on which to disable audio
> *
> * The disable sequences must be performed before disabling the transcoder or
> * port.
> --
> 1.9.1
>
>

--
Jani Nikula, Intel Open Source Technology Center