linux_dsm_epyc7002/arch
Christoph Hellwig 1e2934ad7f 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>
2018-12-19 18:00:40 +01:00
..
alpha dma-mapping: bypass indirect calls for dma-direct 2018-12-13 21:06:18 +01:00
arc dma-mapping: bypass indirect calls for dma-direct 2018-12-13 21:06:18 +01:00
arm dma-mapping: bypass indirect calls for dma-direct 2018-12-13 21:06:18 +01:00
arm64 arm64: default to the direct mapping in get_arch_dma_ops 2018-12-19 18:00:12 +01:00
c6x dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
csky dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
h8300 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
hexagon dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
ia64 ia64: only select ARCH_HAS_DMA_COHERENT_TO_PFN if swiotlb is enabled 2018-12-15 11:01:25 +01:00
m68k dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
microblaze dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
mips dma-mapping: bypass indirect calls for dma-direct 2018-12-13 21:06:18 +01:00
nds32 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
nios2 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
openrisc dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
parisc dma-mapping: bypass indirect calls for dma-direct 2018-12-13 21:06:18 +01:00
powerpc dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
riscv dma-direct: merge swiotlb_dma_ops into the dma_direct code 2018-12-13 21:06:17 +01:00
s390 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
sh dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
sparc sparc/io-unit: fix ->map_sg return value 2018-12-19 18:00:40 +01:00
um for-linus-20181109 2018-11-09 16:31:51 -06:00
unicore32 dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
x86 dma-mapping: bypass indirect calls for dma-direct 2018-12-13 21:06:18 +01:00
xtensa dma-mapping: always build the direct mapping code 2018-12-13 21:06:11 +01:00
.gitignore
Kconfig New gcc plugin: stackleak 2018-11-01 11:46:27 -07:00