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

Commit 91c64a4

Browse files
rddunlapzhiwang1
authored andcommitted
drm/i915/gvt: clean up kernel-doc in gtt.c
Fix kernel-doc warnings in gtt.c: gtt.c:1152: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Check if can do 2M page gtt.c:1152: warning: missing initial short description on line: * Check if can do 2M page gtt.c:2209: warning: expecting prototype for intel_vgpu_emulate_gtt_mmio_read(). Prototype was for intel_vgpu_emulate_ggtt_mmio_read() instead Fixes: a752b07 ("drm/i915/gvt: Fix function comment doc errors") Fixes: 2707e44 ("drm/i915/gvt: vGPU graphics memory virtualization") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: Zhenyu Wang <[email protected]> Cc: Zhi Wang <[email protected]> Cc: Colin Xu <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Zhi Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Zhi Wang <[email protected]> Signed-off-by: Zhi Wang <[email protected]>
1 parent d46f329 commit 91c64a4

File tree

1 file changed

+2
-2
lines changed
  • drivers/gpu/drm/i915/gvt

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se,
11481148
ops->set_pfn(se, s->shadow_page.mfn);
11491149
}
11501150

1151-
/**
1151+
/*
11521152
* Check if can do 2M page
11531153
* @vgpu: target vgpu
11541154
* @entry: target pfn's gtt entry
@@ -2193,7 +2193,7 @@ static int emulate_ggtt_mmio_read(struct intel_vgpu *vgpu,
21932193
}
21942194

21952195
/**
2196-
* intel_vgpu_emulate_gtt_mmio_read - emulate GTT MMIO register read
2196+
* intel_vgpu_emulate_ggtt_mmio_read - emulate GTT MMIO register read
21972197
* @vgpu: a vGPU
21982198
* @off: register offset
21992199
* @p_data: data will be returned to guest

0 commit comments

Comments
 (0)