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 <[email protected]> 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(-) -- 2.43.0
