Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8c4ac0949f7779cd4cc8c618f1b07e6113682010 Commit: 8c4ac0949f7779cd4cc8c618f1b07e6113682010 Parent: dd430ca20c40ecccd6954a7efd13d4398f507728 Author: Stefan Richter <[EMAIL PROTECTED]> AuthorDate: Tue Jan 15 21:11:28 2008 +0100 Committer: Stefan Richter <[EMAIL PROTECTED]> CommitDate: Wed Jan 30 22:22:18 2008 +0100
ieee1394: sbp2: prepare for s/g chaining Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- 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 1eda11a..96eac0b 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, /* 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) { - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html