Re: [PATCH 1/2] swiotlb: Group identical cleanup in swiotlb_cleanup()

2019-06-14 Thread Christoph Hellwig
On Tue, Jun 11, 2019 at 10:58:24AM -0700, Florian Fainelli wrote: > Avoid repeating the zeroing of global swiotlb variables in two locations > and introduce swiotlb_cleanup() to do that. > > Signed-off-by: Florian Fainelli Looks good, Reviewed-by: Christoph Hellwig

[PATCH 1/2] swiotlb: Group identical cleanup in swiotlb_cleanup()

2019-06-11 Thread Florian Fainelli
Avoid repeating the zeroing of global swiotlb variables in two locations and introduce swiotlb_cleanup() to do that. Signed-off-by: Florian Fainelli --- kernel/dma/swiotlb.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/kernel/dma/swiotlb.c b/kernel/dma/