projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d667522
)
[ARM] dma: convert IOMD DMA to use sg_next()
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Mon, 8 Dec 2008 19:03:58 +0000
(19:03 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 11 Dec 2008 14:52:43 +0000
(14:52 +0000)
... rather than incrementing the sg pointer.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-rpc/dma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-rpc/dma.c
b/arch/arm/mach-rpc/dma.c
index 0163592b2af01d94e47b5abc65c0e8dda4e509c6..a5987bbed60df7078e5d78ab227bcd451acfe760 100644
(file)
--- a/
arch/arm/mach-rpc/dma.c
+++ b/
arch/arm/mach-rpc/dma.c
@@
-67,7
+67,7
@@
static void iomd_get_next_sg(struct scatterlist *sg, struct iomd_dma *idma)
if (idma->dma.sg->length == 0) {
if (idma->dma.sgcount > 1) {
- idma->dma.sg
++
;
+ idma->dma.sg
= sg_next(idma->dma.sg)
;
idma->dma.sgcount--;
} else {
idma->dma.sg = NULL;
This page took
0.025162 seconds
and
5
git commands to generate.