Xen/gnttab: adjust two uses of sizeof()

The use in gnttab_map() is latently buggy, as "frames" there is
xen_pfn_t *, not unsigned long *. Adjust the correct use in
gnttab_map_frames_v2() as well, just to avoid the problematic pattern of
sizeof(<type>).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>

Message-ID: <0ddff6c4-7ec7-41a9-9417-687ca16aaafd@suse.com>
This commit is contained in:
Jan Beulich 2026-07-30 16:57:58 +02:00 • committed by Juergen Gross
commit 5d519a058c