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/ubifs/commit.c | |
| parent | be5e09484078e95af20acb13e215cd8aec705893 (diff) | |
| download | olio-linux-3.10-6f0f54499f2edf7e25410cdd99e6f030f3485fd1.tar.xz olio-linux-3.10-6f0f54499f2edf7e25410cdd99e6f030f3485fd1.zip | |
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/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions