Commit:     a169e63740779f62a9a5ddf0aa61091a393a03c5
Parent:     cd81621c5c5c869b848818b506962dab4499e0d9
Author:     Boaz Harrosh <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 17 18:08:59 2007 +0200
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Tue Dec 18 16:04:15 2007 -0600

    [SCSI] initio: bugfix for accessors patch
    patch: [SCSI] initio: convert to use the data buffer accessors had a
    small but fatal bug in that it didn't increment the pointer into the
    initio scatterlist descriptors as it looped over the block generated
    ones. Fixed here.
    Signed-off-by: Boaz Harrosh <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 drivers/scsi/initio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c
index 769a7a8..01bf018 100644
--- a/drivers/scsi/initio.c
+++ b/drivers/scsi/initio.c
@@ -2616,6 +2616,7 @@ static void initio_build_scb(struct initio_host * host, 
struct scsi_ctrl_blk * c
                scsi_for_each_sg(cmnd, sglist, cblk->sglen, i) {
                        sg->data = cpu_to_le32((u32)sg_dma_address(sglist));
                        total_len += sg->len = 
+                       ++sg;
                cblk->buflen = (scsi_bufflen(cmnd) > total_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

Reply via email to