summaryrefslogtreecommitdiff
path: root/lib/debug_locks.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-11-09 15:20:40 +0100
committerChristoph Hellwig <hch@lst.de>2021-12-07 12:48:09 +0100
commitf3c962226dbec7a611ddd4eb7af7f4e19f4790ea (patch)
tree2ef0c38e670817c1b105eea2e1aa092d7b29a7bc /lib/debug_locks.c
parenta90cf30437489343b8386ae87b4827b6d6c3ed50 (diff)
downloadlwn-f3c962226dbec7a611ddd4eb7af7f4e19f4790ea.tar.gz
lwn-f3c962226dbec7a611ddd4eb7af7f4e19f4790ea.zip
dma-direct: clean up the remapping checks in dma_direct_alloc
Add two local variables to track if we want to remap the returned address using vmap or call dma_set_uncached and use that to simplify the code flow. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions