NVMe: Check returns from nvme_alloc_queue()
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 1 Feb 2011 13:39:04 +0000 (08:39 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:53 +0000 (15:52 -0400)
commit3f85d50b609e8a5ef151656210203a6e94c19538
treeaf6de7b2682ffe778146b1d77076c6610fde8f72
parent8e9f0e71150bf6277d0ea40bc8feb1338ddf13fd
NVMe: Check returns from nvme_alloc_queue()

It can return NULL, so handle that.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c