Re: [PATCH] lib/dma-debug.c: fix memory leakage

2018-02-22 Thread Christoph Hellwig
Thanks, applied to the dma mapping tree for 4.16, including the Fixes tag. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [PATCH] lib/dma-debug.c: fix memory leakage

2018-02-22 Thread Robin Murphy
On 22/02/18 11:22, miles.c...@mediatek.com wrote: From: Miles Chen Marty reported a memory leakage introduced by commit 3aaabbf1c39e ("lib/dma-debug.c: fix incorrect pfn calculation"). Fix it by checking the virtual address before allocating the entry. Oops, seems I