diff options
| author | Oleksandr Tyshchenko <[email protected]> | 2022-10-05 17:48:22 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2022-10-06 06:30:10 +0000 |
| commit | e433715b116553892ecad8796018ae4b64304252 (patch) | |
| tree | 3d8c3bdd5cf6febdb50de5b755b30177eb0b0295 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | xen/xenbus: Fix spelling mistake "hardward" -> "hardware" (diff) | |
| download | kernel-e433715b116553892ecad8796018ae4b64304252.tar.gz kernel-e433715b116553892ecad8796018ae4b64304252.zip | |
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 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
