projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd430ca
)
ieee1394: sbp2: prepare for s/g chaining
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Tue, 15 Jan 2008 20:11:28 +0000
(21:11 +0100)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Wed, 30 Jan 2008 21:22:18 +0000
(22:22 +0100)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/sbp2.c
b/drivers/ieee1394/sbp2.c
index 1eda11abeb1e0b3cb912cb7e0c9bcac196b79810..96eac0b5301909827a34e8a1d4affb3c5a18cc6a 100644
(file)
--- a/
drivers/ieee1394/sbp2.c
+++ b/
drivers/ieee1394/sbp2.c
@@
-1489,7
+1489,7
@@
static void sbp2_prep_command_orb_sg(struct sbp2_command_orb *orb,
/* loop through and fill out our SBP-2 page tables
* (and split up anything too large) */
- for (i = 0, sg_count = 0
; i < count; i++, sgpnt++
) {
+ for (i = 0, sg_count = 0
; i < count; i++, sgpnt = sg_next(sgpnt)
) {
sg_len = sg_dma_len(sgpnt);
sg_addr = sg_dma_address(sgpnt);
while (sg_len) {