diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-12 21:23:39 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-10-15 17:49:20 +0200 |
commit | 81c04b943872e0332872df18cec1dec89b178b4d (patch) | |
tree | 42fa640a9ceedc7ce0d8088e3ae97de72aef1a18 /block/blk-sysfs.c | |
parent | blk-mq: fix use-after-free in blk_mq_free_tag_set() (diff) | |
download | linux-81c04b943872e0332872df18cec1dec89b178b4d.tar.xz linux-81c04b943872e0332872df18cec1dec89b178b4d.zip |
nvme: use an integer value to Linux errno values
Use a separate integer variable to hold the signed Linux errno
values we pass back to the block layer. Note that for pass through
commands those might still be NVMe values, but those fit into the
int as well.
Fixes: f4829a9b7a61: ("blk-mq: fix racy updates of rq->errors")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions