diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-05-11 13:30:59 -0700 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 15:53:03 -0400 |
commit | 6f0f54499f2edf7e25410cdd99e6f030f3485fd1 (patch) | |
tree | 805003a9c7fa87e77fb41a50f308ad178688f79c /fs/partitions | |
parent | be5e09484078e95af20acb13e215cd8aec705893 (diff) |
NVMe: Return real error from nvme_create_queue
nvme_setup_io_queues() was assuming that a NULL return from
nvme_create_queue() was an out-of-memory error. That's not necessarily
true; the adapter might return -EIO, for example. Change the calling
convention to return an ERR_PTR on failure instead of NULL.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'fs/partitions')
0 files changed, 0 insertions, 0 deletions