Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 3bfe9f1

Browse files
Jiapeng Chongzhenyw
authored andcommitted
drm/i915/gvt: Fix kernel-doc
Fix the following W=1 kernel warnings: drivers/gpu/drm/i915/gvt/aperture_gm.c:308: warning: expecting prototype for inte_gvt_free_vgpu_resource(). Prototype was for intel_vgpu_free_resource() instead. drivers/gpu/drm/i915/gvt/aperture_gm.c:344: warning: expecting prototype for intel_alloc_vgpu_resource(). Prototype was for intel_vgpu_alloc_resource() instead. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Acked-by: Zhenyu Wang <[email protected]>
1 parent c2165d5 commit 3bfe9f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/gvt/aperture_gm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ static int alloc_resource(struct intel_vgpu *vgpu,
298298
}
299299

300300
/**
301-
* inte_gvt_free_vgpu_resource - free HW resource owned by a vGPU
301+
* intel_vgpu_free_resource() - free HW resource owned by a vGPU
302302
* @vgpu: a vGPU
303303
*
304304
* This function is used to free the HW resource owned by a vGPU.
@@ -328,7 +328,7 @@ void intel_vgpu_reset_resource(struct intel_vgpu *vgpu)
328328
}
329329

330330
/**
331-
* intel_alloc_vgpu_resource - allocate HW resource for a vGPU
331+
* intel_vgpu_alloc_resource() - allocate HW resource for a vGPU
332332
* @vgpu: vGPU
333333
* @param: vGPU creation params
334334
*

0 commit comments

Comments
 (0)