lkml.org 
[lkml]   [2007]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 32/33] i2o: sg chaining support
    Date
    Cc: alan@lxorguk.ukuu.org.uk
    Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
    ---
    include/linux/i2o.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/include/linux/i2o.h b/include/linux/i2o.h
    index 52f53e2..0ae1dcf 100644
    --- a/include/linux/i2o.h
    +++ b/include/linux/i2o.h
    @@ -836,7 +836,7 @@ static inline int i2o_dma_map_sg(struct i2o_controller *c,
    if ((sizeof(dma_addr_t) > 4) && c->pae_support)
    *mptr++ = cpu_to_le32(i2o_dma_high(sg_dma_address(sg)));
    #endif
    - sg++;
    + sg = sg_next(sg);
    }
    *sg_ptr = mptr;

    --
    1.5.3.rc0.90.gbaa79
    -
    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-07-16 11:57    [W:4.021 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site