From: Matthew Wilcox Date: Wed, 11 May 2011 20:30:59 +0000 (-0700) Subject: NVMe: Return real error from nvme_create_queue X-Git-Tag: v3.3-rc1~16^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f0f54499f2edf7e25410cdd99e6f030f3485fd1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed