diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ieee1394/sbp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index 1eda11abeb1e..96eac0b53019 100644 --- 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, | |||
1489 | 1489 | ||
1490 | /* loop through and fill out our SBP-2 page tables | 1490 | /* loop through and fill out our SBP-2 page tables |
1491 | * (and split up anything too large) */ | 1491 | * (and split up anything too large) */ |
1492 | for (i = 0, sg_count = 0 ; i < count; i++, sgpnt++) { | 1492 | for (i = 0, sg_count = 0; i < count; i++, sgpnt = sg_next(sgpnt)) { |
1493 | sg_len = sg_dma_len(sgpnt); | 1493 | sg_len = sg_dma_len(sgpnt); |
1494 | sg_addr = sg_dma_address(sgpnt); | 1494 | sg_addr = sg_dma_address(sgpnt); |
1495 | while (sg_len) { | 1495 | while (sg_len) { |