aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJianchao Wang <[email protected]>2018-02-15 11:13:41 +0000
committerKeith Busch <[email protected]>2018-02-26 08:53:32 +0000
commitf25a2dfc20e3a3ed8fe6618c331799dd7bd01190 (patch)
tree8f1ec7dafde15c0ca07915c75751c5e19ee7d26b /lib/string_helpers.c
parentnvmet-loop: use blk_rq_payload_bytes for sgl selection (diff)
downloadkernel-f25a2dfc20e3a3ed8fe6618c331799dd7bd01190.tar.gz
kernel-f25a2dfc20e3a3ed8fe6618c331799dd7bd01190.zip
nvme-pci: Fix nvme queue cleanup if IRQ setup fails
This patch fixes nvme queue cleanup if requesting an IRQ handler for the queue's vector fails. It does this by resetting the cq_vector to the uninitialized value of -1 so it is ignored for a controller reset. Signed-off-by: Jianchao Wang <[email protected]> [changelog updates, removed misc whitespace changes] Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions