Hi Jonathan,

On Tue, Sep 16, 2025 at 05:43:19PM +0000, Jonathan Cavitt wrote:
> The reg >= 0 check in reg_is_mmio is unnecessary because reg is always
> greater than zero in all current use cases.  This is obvious when
> checking 'offset' by itself (as offset is defined as an unsigned
> integer), but it's also true for the offset + bytes - 1 use case in
> intel_vgpu_emulate_mmio_read because bytes > 0.
> 
> Signed-off-by: Jonathan Cavitt <jonathan.cav...@intel.com>

Reviewed-by: Andi Shyti <andi.sh...@linux.intel.com>

Thanks,
Andi

Reply via email to