summaryrefslogtreecommitdiff
path: root/drivers/sbus
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-04-16 14:14:33 -0600
committerJens Axboe <axboe@fb.com>2014-04-16 14:15:25 -0600
commitfb1be43301ce045b5e563416e701573464a2ed96 (patch)
tree989748b2fc10096a0fd705c33890bcfcd662a406 /drivers/sbus
parentf793aa53786668c9e0db5900f70f560e99d62fa0 (diff)
downloadlwn-fb1be43301ce045b5e563416e701573464a2ed96.tar.gz
lwn-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/sbus')
-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))