[Intel-gfx] [PATCH] drm/i915: Fixup kerneldoc for intel_device_info_runtime_init

Jani Nikula jani.nikula at intel.com
Mon Jan 7 09:52:43 UTC 2019


On Sat, 05 Jan 2019, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>   CC [M]  drivers/gpu/drm/i915/intel_device_info.o
> drivers/gpu/drm/i915/intel_device_info.c:727: warning: Function parameter or member 'dev_priv' not described in 'intel_device_info_runtime_init'
> drivers/gpu/drm/i915/intel_device_info.c:727: warning: Excess function parameter 'info' description in 'intel_device_info_runtime_init'
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Jani Nikula <jani.nikula at intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com>

Sorry and thanks.

Reviewed-by: Jani Nikula <jani.nikula at intel.com>


> ---
>  drivers/gpu/drm/i915/intel_device_info.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
> index e0ce0c9791fc..855a5074ad77 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.c
> +++ b/drivers/gpu/drm/i915/intel_device_info.c
> @@ -709,7 +709,7 @@ static u32 read_timestamp_frequency(struct drm_i915_private *dev_priv)
>  
>  /**
>   * intel_device_info_runtime_init - initialize runtime info
> - * @info: intel device info struct
> + * @dev_priv: the i915 device
>   *
>   * Determine various intel_device_info fields at runtime.
>   *

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list