Re: [PATCH 08/10] dma-direct: drop two CONFIG_DMA_RESTRICTED_POOL conditionals

2021-11-04 Thread Robin Murphy
On 2021-10-21 10:06, Christoph Hellwig wrote: swiotlb_alloc and swiotlb_free are properly stubbed out if CONFIG_DMA_RESTRICTED_POOL is not set, so skip the extra checks. Reviewed-by: Robin Murphy Signed-off-by: Christoph Hellwig --- kernel/dma/direct.c | 6 ++ 1 file changed, 2

[PATCH 08/10] dma-direct: drop two CONFIG_DMA_RESTRICTED_POOL conditionals

2021-10-21 Thread Christoph Hellwig
swiotlb_alloc and swiotlb_free are properly stubbed out if CONFIG_DMA_RESTRICTED_POOL is not set, so skip the extra checks. Signed-off-by: Christoph Hellwig --- kernel/dma/direct.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/dma/direct.c