Skip to content
Commit d1a490e0 authored by Nisheeth Bhat's avatar Nisheeth Bhat Committed by Matthew Wilcox
Browse files

NVMe: Fix calls to dma_unmap_sg



dma_unmap_sg() must be called with the same 'nents' passed to
dma_map_sg(), not the number returned from dma_map_sg().

Signed-off-by: default avatarNisheeth Bhat <nisheeth.bhat@intel.com>
Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent d0ba1e49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment