diff options
author | 2011-05-11 13:30:59 -0700 | |
---|---|---|
committer | 2011-11-04 15:53:03 -0400 | |
commit | 6f0f54499f2edf7e25410cdd99e6f030f3485fd1 (patch) | |
tree | 805003a9c7fa87e77fb41a50f308ad178688f79c /fs/cachefiles/interface.c | |
parent | NVMe: Version 0.6 (diff) | |
download | wireguard-linux-6f0f54499f2edf7e25410cdd99e6f030f3485fd1.tar.xz wireguard-linux-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/cachefiles/interface.c')
0 files changed, 0 insertions, 0 deletions