diff options
| author | Christoph Hellwig <[email protected]> | 2019-01-04 08:50:33 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2019-01-05 07:27:32 +0000 |
| commit | 06f55fd2d22742ed7e725124dfea68936d12ce40 (patch) | |
| tree | 5bbf65577198f5171ec2ccc890ce9f9cb5322400 /tools/perf/util/python.c | |
| parent | dma-mapping: remove a few unused exports (diff) | |
| download | kernel-06f55fd2d22742ed7e725124dfea68936d12ce40.tar.gz kernel-06f55fd2d22742ed7e725124dfea68936d12ce40.zip | |
x86/amd_gart: fix unmapping of non-GART mappings
In many cases we don't have to create a GART mapping at all, which
also means there is nothing to unmap. Fix the range check that was
incorrectly modified when removing the mapping_error method.
Fixes: 9e8aa6b546 ("x86/amd_gart: remove the mapping_error dma_map_ops method")
Reported-by: Michal Kubecek <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Michal Kubecek <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
