lkml.org 
[lkml]   [2007]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] scatterlist fallout: drivers/scsi/arm/

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    ---
    diff --git a/drivers/scsi/arm/scsi.h b/drivers/scsi/arm/scsi.h
    index 21ba571..2d09fef 100644
    --- a/drivers/scsi/arm/scsi.h
    +++ b/drivers/scsi/arm/scsi.h
    @@ -39,7 +39,7 @@ static inline int next_SCp(struct scsi_pointer *SCp)
    SCp->buffer++;
    SCp->buffers_residual--;
    SCp->ptr = (char *)
    - (page_address(SCp->buffer->page) +
    + (page_address(sg_page(SCp->buffer)) +
    SCp->buffer->offset);
    SCp->this_residual = SCp->buffer->length;
    } else {
    @@ -77,7 +77,7 @@ static inline void init_SCp(struct scsi_cmnd *SCpnt)
    SCpnt->SCp.buffer = (struct scatterlist *) SCpnt->request_buffer;
    SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
    SCpnt->SCp.ptr = (char *)
    - (page_address(SCpnt->SCp.buffer->page) +
    + (page_address(sg_page(SCpnt->SCp.buffer)) +
    SCpnt->SCp.buffer->offset);
    SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length;
    SCpnt->SCp.phase = SCpnt->request_bufflen;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-10-27 20:47    [W:0.019 / U:59.652 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site