Cc: alan@xxxxxxxxxxxxxxxxxxx Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx> --- 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-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html