https://github.com/torvalds/linux
Revision 758dd7fdffd60507624edce34fff122a63163b3f authored by Jon Derrick on 30 June 2015, 17:22:52 UTC, committed by Jens Axboe on 02 July 2015, 15:01:25 UTC
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 <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
1 parent a20135f
History
Tip revision: 758dd7fdffd60507624edce34fff122a63163b3f authored by Jon Derrick on 30 June 2015, 17:22:52 UTC
NVMe: Fix irq freeing when queue_request_irq fails
Tip revision: 758dd7f

back to top