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

Jani Nikula jani.nikula at linux.intel.com
Fri Sep 18 04:23:39 PDT 2015


On Tue, 15 Sep 2015, Geliang Tang <geliangtang at 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 at 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


More information about the dri-devel mailing list