HomeFreeBSD

xen/gndev: use UOFF_TO_IDX instead of OFF_TO_IDX

Description

xen/gndev: use UOFF_TO_IDX instead of OFF_TO_IDX

The Xen grant table device treats the mmap offset parameter as an unsigned
type, and as so it must use the newly introduced UOFF_TO_IDX.

Sponsored by: Citrix Systems R&D
MFC after: 2 weeks
X-MFC-with: r313690

Details

Provenance
roygerAuthored on
Parents
rS314137: MFC r313800:
Branches
Unknown
Tags
Unknown