On Tue, Sep 16, 2025 at 05:43:18PM +0000, Jonathan Cavitt wrote: > Remove the 'reg >= 0' check from reg_is_mmio because it's unnecessary > due to it always being true. Also, fix the kernel docs for > intel_vgpu_gpa_to_mmio_offset, as they incorrectly assert it returns > 'Zero on success, negative error code if failed', when in reality it > returns 'the MMIO offset of the given GPA'. > > Signed-off-by: Jonathan Cavitt <jonathan.cav...@intel.com> > > Jonathan Cavitt (2): > drm/i915/gvt: Remove unnecessary check in reg_is_mmio > drm/i915/gvt: Fix intel_vgpu_gpa_to_mmio_offset kernel docs > > drivers/gpu/drm/i915/gvt/mmio.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >
Looks fine. Reviewed-by: Zhenyu Wang <zhenyuw.li...@gmail.com>