aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/pci-dma.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-16 10:20:04 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-19 18:00:40 +0100
commit1e2934ad7f93476e92039d4b8914d9f71789448f (patch)
tree1fdb67baf481f1601ed9791d2fd612b76726924c /arch/parisc/kernel/pci-dma.c
parentarm64: default to the direct mapping in get_arch_dma_ops (diff)
downloadlinux-dev-1e2934ad7f93476e92039d4b8914d9f71789448f.tar.xz
linux-dev-1e2934ad7f93476e92039d4b8914d9f71789448f.zip
sparc/io-unit: fix ->map_sg return value
Just decrementing the sz value will lead to an incorrect return value. Instead of just introducing a local variable switch to the standard for_each_sg helper and standard naming of the arguments. Fixes: ce65d36f3e ("sparc: remove the sparc32_dma_ops indirection") Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/parisc/kernel/pci-dma.c')
0 files changed, 0 insertions, 0 deletions