[PATCH] NVMe: Fix irq freeing when queue_request_irq fails
Jens Axboe
axboe at kernel.dk
Thu Jul 2 08:03:03 PDT 2015
On 06/30/2015 11:22 AM, Jon Derrick wrote:
> 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.
Looks good to me, added for this series.
--
Jens Axboe
More information about the Linux-nvme
mailing list