summaryrefslogtreecommitdiff
path: root/block/blk-mq-debugfs.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-12-18 03:23:29 +0300
committerJens Axboe <axboe@kernel.dk>2019-12-20 21:52:01 +0300
commitc44a4edb20938c85b64a256661443039f5bffdea (patch)
tree0b8043315d2526a868b3b1bc79fb8d14ce52f200 /block/blk-mq-debugfs.h
parentc58c1f83436b501d45d4050fd1296d71a9760bcb (diff)
downloadlinux-c44a4edb20938c85b64a256661443039f5bffdea.tar.xz
block: Fix the type of 'sts' in bsg_queue_rq()
This patch fixes the following sparse warnings: block/bsg-lib.c:269:19: warning: incorrect type in initializer (different base types) block/bsg-lib.c:269:19: expected int sts block/bsg-lib.c:269:19: got restricted blk_status_t [usertype] block/bsg-lib.c:286:16: warning: incorrect type in return expression (different base types) block/bsg-lib.c:286:16: expected restricted blk_status_t block/bsg-lib.c:286:16: got int [assigned] sts Cc: Martin Wilck <mwilck@suse.com> Fixes: d46fe2cb2dce ("block: drop device references in bsg_queue_rq()") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.h')
0 files changed, 0 insertions, 0 deletions