diff options
author | Jens Axboe <axboe@fb.com> | 2014-04-16 14:14:33 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-16 14:15:25 -0600 |
commit | fb1be43301ce045b5e563416e701573464a2ed96 (patch) | |
tree | 989748b2fc10096a0fd705c33890bcfcd662a406 /drivers/sbus | |
parent | f793aa53786668c9e0db5900f70f560e99d62fa0 (diff) | |
download | linux-fb1be43301ce045b5e563416e701573464a2ed96.tar.gz linux-fb1be43301ce045b5e563416e701573464a2ed96.tar.bz2 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/sbus')
-rw-r--r-- | drivers/sbus/char/jsflash.c | 2 |
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)) |