Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arc: fix dma_address assignment during dma_map_sg()

Signed-off-by: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

authored by

Pierrick Hascoet and committed by
Vineet Gupta
2105fd55 a37b2dc5

+1 -1
+1 -1
arch/arc/include/asm/dma-mapping.h
··· 126 126 int i; 127 127 128 128 for_each_sg(sg, s, nents, i) 129 - sg->dma_address = dma_map_page(dev, sg_page(s), s->offset, 129 + s->dma_address = dma_map_page(dev, sg_page(s), s->offset, 130 130 s->length, dir); 131 131 132 132 return nents;