commit | 64ee0ac0527704c47170316fa58dbde50edaaf70 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Thu Apr 12 09:16:08 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Apr 12 09:58:27 2018 -0600 |
tree | f362e9b1727897b8f4b6ec1e4ade171328057910 | |
parent | 6038aa532a224da68c478f34f4dbce33c47169e6 [diff] |
nvme-pci: Skip queue deletion if there are no queues User reported controller always retains CSTS.RDY to 1, which fails controller disabling when resetting the controller. This is also before the admin queue is allocated, and trying to disable an unallocated queue results in a NULL dereference. Reported-by: Alex Gagniuc <Alex_Gagniuc@Dellteam.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>