diff options
| author | Christoph Hellwig <[email protected]> | 2019-01-14 20:14:08 +0000 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2019-01-16 14:59:17 +0000 |
| commit | 227a76b64718888c1687cc237463aa000ae6fb2b (patch) | |
| tree | baf6e0b03405ea007bd7865f1ca75d80fab44001 /lib/test_xarray.c | |
| parent | Linux 5.0-rc2 (diff) | |
| download | kernel-227a76b64718888c1687cc237463aa000ae6fb2b.tar.gz kernel-227a76b64718888c1687cc237463aa000ae6fb2b.zip | |
swiotlb: clear io_tlb_start and io_tlb_end in swiotlb_exit
Otherwise is_swiotlb_buffer will return false positives when
we first initialize a swiotlb buffer, but then free it because
we have an IOMMU available.
Fixes: 55897af63091 ("dma-direct: merge swiotlb_dma_ops into the dma_direct code")
Reported-by: Sibren Vasse <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Sibren Vasse <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
