projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37b2dc
)
arc: fix dma_address assignment during dma_map_sg()
author
Pierrick Hascoet
<pierrick.hascoet@abilis.com>
Mon, 18 Mar 2013 16:04:45 +0000
(17:04 +0100)
committer
Vineet Gupta
<vgupta@synopsys.com>
Tue, 19 Mar 2013 10:04:53 +0000
(15:34 +0530)
Signed-off-by: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/dma-mapping.h
patch
|
blob
|
history
diff --git
a/arch/arc/include/asm/dma-mapping.h
b/arch/arc/include/asm/dma-mapping.h
index 31f77aec082381e34f5cb7ddb06added7d98d179..45b8e0cea1764d2b9e4a0b0d1f27b787eb845870 100644
(file)
--- a/
arch/arc/include/asm/dma-mapping.h
+++ b/
arch/arc/include/asm/dma-mapping.h
@@
-126,7
+126,7
@@
dma_map_sg(struct device *dev, struct scatterlist *sg,
int i;
for_each_sg(sg, s, nents, i)
- s
g
->dma_address = dma_map_page(dev, sg_page(s), s->offset,
+ s->dma_address = dma_map_page(dev, sg_page(s), s->offset,
s->length, dir);
return nents;