]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/gvt: Fix intel_vgpu_gpa_to_mmio_offset kernel docs
authorJonathan Cavitt <jonathan.cavitt@intel.com>
Tue, 16 Sep 2025 17:43:20 +0000 (17:43 +0000)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 18 Sep 2025 11:07:12 +0000 (13:07 +0200)
commit96e556ef5ced51eec140db4bd89204c9322959cc
tree84fca2c9c03f7c7bfe6fedf7d886b83f8a23b813
parentf80fb921747b46d3e65887099977e457fba7256a
drm/i915/gvt: Fix intel_vgpu_gpa_to_mmio_offset kernel docs

intel_vgpu_gpa_to_mmio_offset states that it returns
'Zero on success, negative error code if failed'
in the kernel docs.

This is false.  The function actually returns
'The MMIO offset of the given GPA'.
Correct the docs.

Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw.linux@gmail.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20250916174317.76521-6-jonathan.cavitt@intel.com
drivers/gpu/drm/i915/gvt/mmio.c