aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorOleksandr Tyshchenko <[email protected]>2022-10-05 20:48:22 +0300
committerJuergen Gross <[email protected]>2022-10-06 08:30:10 +0200
commite433715b116553892ecad8796018ae4b64304252 (patch)
tree3d8c3bdd5cf6febdb50de5b755b30177eb0b0295 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent06c62f8cbb1f660a4147b0d8cbe65cf2cfc1aa5a (diff)
xen/virtio: Fix n_pages calculation in xen_grant_dma_map(unmap)_page()
Take page offset into the account when calculating the number of pages to be granted. Fixes: d6aca3504c7d ("xen/grant-dma-ops: Add option to restrict memory access under Xen") Signed-off-by: Oleksandr Tyshchenko <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions