aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorOleksandr Tyshchenko <[email protected]>2022-10-05 17:48:22 +0000
committerJuergen Gross <[email protected]>2022-10-06 06:30:10 +0000
commite433715b116553892ecad8796018ae4b64304252 (patch)
tree3d8c3bdd5cf6febdb50de5b755b30177eb0b0295 /drivers/platform/surface/aggregator/ssh_parser.c
parentxen/xenbus: Fix spelling mistake "hardward" -> "hardware" (diff)
downloadkernel-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