diff options
author | Jan Beulich <[email protected]> | 2021-09-22 12:17:48 +0200 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2021-10-05 08:20:22 +0200 |
commit | e11423d6721dd63b23fb41ade5e8d0b448b17780 (patch) | |
tree | 036904e290e3da6acd2b58e1938303d699e9a1f2 /scripts/gdb/linux/utils.py | |
parent | 0432523f4807a83902857347bd73eb817ef0a742 (diff) |
xen/privcmd: fix error handling in mmap-resource processing
xen_pfn_t is the same size as int only on 32-bit builds (and not even
on Arm32). Hence pfns[] can't be used directly to read individual error
values returned from xen_remap_domain_mfn_array(); every other error
indicator would be skipped/ignored on 64-bit.
Fixes: 3ad0876554ca ("xen/privcmd: add IOCTL_PRIVCMD_MMAP_RESOURCE")
Cc: [email protected]
Signed-off-by: Jan Beulich <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions