From: Jens Axboe Date: Wed, 16 Apr 2014 20:14:33 +0000 (-0600) Subject: jsflash: missed conversion from rq->buffer to bio_data(rq->bio) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fb1be43301ce045b5e563416e701573464a2ed96;p=openwrt%2Fstaging%2Fblogic.git jsflash: missed conversion from rq->buffer to bio_data(rq->bio) Signed-off-by: Jens Axboe --- diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index 4ccb5d869389..a40ee1e37486 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c @@ -207,7 +207,7 @@ static void jsfd_do_request(struct request_queue *q) goto end; } - jsfd_read(req->buffer, jdp->dbase + offset, len); + jsfd_read(bio_data(req->bio), jdp->dbase + offset, len); err = 0; end: if (!__blk_end_request_cur(req, err))