summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-03-01 10:44:25 +0300
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2021-03-17 03:29:41 +0300
commit2bdba622c351259317b0294c6e9fe243b2404316 (patch)
treeb779ee4e5763d820f86572f09280bc2492d07b42 /drivers/xen
parent2973073a80b46daebc352c31d09d95d16cf6876e (diff)
downloadlinux-2bdba622c351259317b0294c6e9fe243b2404316.tar.xz
swiotlb: move orig addr and size validation into swiotlb_bounce
Move the code to find and validate the original buffer address and size from the callers into swiotlb_bounce. This means a tiny bit of extra work in the swiotlb_map path, but avoids code duplication and a leads to a better code structure. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions