Fix typos in configuration script

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk 2019-06-26 12:21:47 -04:00
parent aaba2607f5
commit 60192c447e
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
if compile_module "struct bio b;blk_rq_append_bio(NULL, &b)" "linux/blkdev.h"
then
add_define "cas_blk_rq_append_bio(rq, bounce_bio) \\
blk_rq_append_bio(rq, bounce_bio"
blk_rq_append_bio(rq, bounce_bio)"
else
add_define "cas_blk_rq_append_bio(rq, bounce_bio) \\
blk_rq_append_bio(rq, &bounce_bio)"

View File

@ -28,7 +28,7 @@ static inline struct request *cas_blk_make_request(struct request_queue *q,
struct bio *bounce_bio = bio;
int ret;
cas_blk_queue_bounce(q, &bounce_bio);
ret = cas_blk_rq_append_bio(rq, bounce_bio);
ret = cas_blk_rq_append_bio(rq, &bounce_bio);
if (unlikely(ret)) {
blk_put_request(rq);
return ERR_PTR(ret);