summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-04-16 22:14:33 +0200
committerJens Axboe <axboe@fb.com>2014-04-16 22:15:25 +0200
commitfb1be43301ce045b5e563416e701573464a2ed96 (patch)
tree989748b2fc10096a0fd705c33890bcfcd662a406 /drivers
parentblock: relax when to modify the timeout timer (diff)
downloadlinux-fb1be43301ce045b5e563416e701573464a2ed96.tar.xz
linux-fb1be43301ce045b5e563416e701573464a2ed96.zip
jsflash: missed conversion from rq->buffer to bio_data(rq->bio)
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sbus/char/jsflash.c2
1 files changed, 1 insertions, 1 deletions
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))