On Sun, 2007-10-21 at 14:44 +0200, Jens Axboe wrote: > On Fri, Oct 19 2007, Will Schmidt wrote: > > Hi Jens, Stephen, and Everyone else. ... > You need this, will remember to fix that up for the new branch as well. > > diff --git a/drivers/block/viodasd.c b/drivers/block/viodasd.c > index e824b67..2ce3622 100644 > --- a/drivers/block/viodasd.c > +++ b/drivers/block/viodasd.c > @@ -270,6 +270,7 @@ static int send_request(struct request *req) > d = req->rq_disk->private_data; > > /* Now build the scatter-gather list */ > + memset(sg, 0, sizeof(sg)); > nsg = blk_rq_map_sg(req->q, req, sg); > nsg = dma_map_sg(d->dev, sg, nsg, direction); >
That appears to do the trick. Thanks! Tested-By: Will Schmidt <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/