summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-06-21 19:55:46 +0200
committerJens Axboe <axboe@kernel.dk>2017-06-21 20:01:14 +0200
commit34bd9c1c4f62e936d8865e6442f332cd85bdfc95 (patch)
treedf1aefcbcb80242e1c892866dd3ad1c727d88cf5 /block/blk-mq.c
parentblock: Declare local symbols static (diff)
downloadlinux-34bd9c1c4f62e936d8865e6442f332cd85bdfc95.tar.xz
linux-34bd9c1c4f62e936d8865e6442f332cd85bdfc95.zip
block: Fix off-by-one errors in blk_status_to_errno() and print_req_error()
This was detected by the smatch static analyzer. Fixes: commit 2a842acab109 ("block: introduce new block status code type") Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions