From: Jon Derrick Date: Tue, 30 Jun 2015 17:22:52 +0000 (-0600) Subject: NVMe: Fix irq freeing when queue_request_irq fails X-Git-Tag: omap-for-v4.3/legacy-v2-signed~54^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=758dd7fdffd60507624edce34fff122a63163b3f;p=pandora-kernel.git NVMe: Fix irq freeing when queue_request_irq fails Fixes an issue when queue_reuest_irq fails in nvme_setup_io_queues. This patch initializes all vectors to -1 and resets the vector to -1 in the case of a failure in queue_request_irq. This avoids the free_irq in nvme_suspend_queue if the queue did not get an irq. Signed-off-by: Jon Derrick Signed-off-by: Jens Axboe --- Reading git-diff-tree failed