aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2019-12-18 00:23:29 +0000
committerJens Axboe <[email protected]>2019-12-20 18:52:01 +0000
commitc44a4edb20938c85b64a256661443039f5bffdea (patch)
tree0b8043315d2526a868b3b1bc79fb8d14ce52f200 /fs/btrfs/dev-replace.c
parentblock: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT (diff)
downloadkernel-c44a4edb20938c85b64a256661443039f5bffdea.tar.gz
kernel-c44a4edb20938c85b64a256661443039f5bffdea.zip
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 <[email protected]> Fixes: d46fe2cb2dce ("block: drop device references in bsg_queue_rq()") Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions