diff options
| author | Deepak Ukey <deepak.ukey@microchip.com> | 2018-09-11 14:18:03 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 18:46:30 +0100 |
| commit | a66a544dca327dbdc04283464200ebd50172d2b9 (patch) | |
| tree | 4d4eaf603f27a53b17608cffb697b2587ab744c1 /kernel | |
| parent | ac892349e21b4e29834e15f9d96e69425db97cce (diff) | |
scsi: pm80xx: Corrected dma_unmap_sg() parameter
[ Upstream commit 76cb25b058034d37244be6aca97a2ad52a5fbcad ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
