diff options
author | Keith Busch <keith.busch@intel.com> | 2018-06-06 08:13:06 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-06-08 12:51:11 -0600 |
commit | ded45505dbfdcaf1e49ae0349e5dafb59c9efbe5 (patch) | |
tree | 190b52254902749ccf70927a9432ab3668438a91 /drivers/auxdisplay | |
parent | 397c699fb096e7a822990990c17c6b43e829cfc4 (diff) |
nvme-pci: queue creation fixes
We've been ignoring NVMe error status on queue creations. Fortunately they
are uncommon, but we should handle these anyway. This patch adds checks
for the a positive error return value that indicates an NVMe status.
If we do see a negative return, the controller isn't usable, so this
patch returns immediately in since we can't unwind that failure.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions