mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
For function dma_unmap_sg(), the <nents> parameter should be number of elements in the scatterlist prior to the mapping, not after the mapping. So fix this usage. Signed-off-by: Xiang Chen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>