diff options
author | Jianchao Wang <jianchao.w.wang@oracle.com> | 2018-05-24 17:51:33 +0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-25 16:50:12 +0200 |
commit | a8e3e0bb749c0893a2cfd24652a77f45eea338d3 (patch) | |
tree | 2d7ae163c52f416a35cbfd7d15347a81418eb148 /drivers/nvme/host/rdma.c | |
parent | e9a9853c23c13a37546397b61b270999fd0fb759 (diff) |
nvme-pci: set nvmeq->cq_vector after alloc cq/sq
Set cq_vector after alloc cq/sq, otherwise nvme_suspend_queue will invoke
free_irq for it and cause a 'Trying to free already-free IRQ xxx'
warning if the create CQ/SQ command times out.
Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
[hch: fixed to pass a s16 and clean up the comment]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
0 files changed, 0 insertions, 0 deletions