commit | 76cb25b058034d37244be6aca97a2ad52a5fbcad | [log] [tgz] |
---|---|---|
author | Deepak Ukey <deepak.ukey@microchip.com> | Tue Sep 11 14:18:03 2018 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Sep 11 21:13:49 2018 -0400 |
tree | d0dd406673a970a301c4d6b96204a563484056bd | |
parent | cd135754d837bc4b15a9211d30bfc23f2247afb9 [diff] |
scsi: pm80xx: Corrected dma_unmap_sg() parameter For the function dma_unmap_sg(), the <nents> parameter should be number of elements in the scatter list prior to the mapping, not after the mapping. Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com> Signed-off-by: Viswas G <Viswas.G@microchip.com> Acked-by: Jack Wang <jinpu.wang@profitbricks.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>