NVMe: Handle ioremap failure
authorKeith Busch <keith.busch@intel.com>
Mon, 15 Jul 2013 21:02:24 +0000 (15:02 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 3 Sep 2013 20:44:25 +0000 (16:44 -0400)
Decrement the number of queues required for doorbell remapping until
the memory is successfully mapped for that size.

Additional checks are done so that we don't call free_irq if it has
already been freed.

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

Simple merge