[Intel-gfx] [PATCH 01/24] drm/i915/gvt: fix intel_vgpu_alloc_resource() kernel-doc parameter

Jani Nikula jani.nikula at intel.com
Thu May 4 09:15:17 UTC 2023


On Wed, 03 May 2023, Rodrigo Vivi <rodrigo.vivi at kernel.org> wrote:
> On Tue, May 02, 2023 at 06:37:18PM +0300, Jani Nikula wrote:
>> drivers/gpu/drm/i915/gvt/aperture_gm.c:344: warning: Function parameter or member 'conf' not described in 'intel_vgpu_alloc_resource'
>> drivers/gpu/drm/i915/gvt/aperture_gm.c:344: warning: Excess function parameter 'param' description in 'intel_vgpu_alloc_resource'
>> 
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

Thanks for the reviews. Pushed the reviewed ones to drm-intel-gt-next,
and will repost the rest separately as we get clarity on them.

BR,
Jani.


>
>> ---
>>  drivers/gpu/drm/i915/gvt/aperture_gm.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/gvt/aperture_gm.c b/drivers/gpu/drm/i915/gvt/aperture_gm.c
>> index 076c779f776a..eedd1865bb98 100644
>> --- a/drivers/gpu/drm/i915/gvt/aperture_gm.c
>> +++ b/drivers/gpu/drm/i915/gvt/aperture_gm.c
>> @@ -330,7 +330,7 @@ void intel_vgpu_reset_resource(struct intel_vgpu *vgpu)
>>  /**
>>   * intel_vgpu_alloc_resource() - allocate HW resource for a vGPU
>>   * @vgpu: vGPU
>> - * @param: vGPU creation params
>> + * @conf: vGPU creation params
>>   *
>>   * This function is used to allocate HW resource for a vGPU. User specifies
>>   * the resource configuration through the creation params.
>> -- 
>> 2.39.2
>> 

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list