[Intel-gfx] [PATCH 2/2] drm/i915/gvt: Fix wrong kernel doc

Lucas De Marchi lucas.demarchi at intel.com
Thu Apr 28 20:40:11 UTC 2022


Fix function name when documenting it:

	drivers/gpu/drm/i915/gvt/handlers.c:3066: warning: expecting prototype
	for intel_t_default_mmio_write(). Prototype was for
	intel_vgpu_default_mmio_write() instead

Fixes: e39c5add3221 ("drm/i915/gvt: vGPU MMIO virtualization")
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 drivers/gpu/drm/i915/gvt/handlers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c
index e4358aa01048..49aacae3b16f 100644
--- a/drivers/gpu/drm/i915/gvt/handlers.c
+++ b/drivers/gpu/drm/i915/gvt/handlers.c
@@ -3052,7 +3052,7 @@ int intel_vgpu_default_mmio_read(struct intel_vgpu *vgpu, unsigned int offset,
 }
 
 /**
- * intel_t_default_mmio_write - default MMIO write handler
+ * intel_vgpu_default_mmio_write - default MMIO write handler
  * @vgpu: a vGPU
  * @offset: access offset
  * @p_data: write data buffer
-- 
2.36.0



More information about the Intel-gfx mailing list