linux/drivers/nvme/host
Christophe JAILLET b00c9b7aa0 nvme-pci: Fix an error handling path in 'nvme_probe()'
Release resources in the correct order in order not to miss a
'put_device()' if 'nvme_dev_map()' fails.

Fixes: b00a726a9f ("NVMe: Don't unmap controller registers on reset")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-07-20 08:41:56 -06:00
..
Kconfig nvme: Remove SCSI translations 2017-06-28 08:14:13 -06:00
Makefile nvme: Makefile: remove dead build rule 2017-06-29 09:43:23 -06:00
core.c nvme: fix byte swapping in the streams code 2017-07-20 08:41:56 -06:00
fabrics.c nvme-fabrics: verify that a controller returns the correct NQN 2017-06-28 08:14:13 -06:00
fabrics.h nvme: read the subsystem NQN from Identify Controller 2017-06-28 08:14:13 -06:00
fc.c nvme: split nvme_uninit_ctrl into stop and uninit 2017-07-06 09:49:42 +03:00
lightnvm.c lightnvm: propagate right error code to target 2017-06-26 16:24:53 -06:00
nvme.h nvme: split nvme_uninit_ctrl into stop and uninit 2017-07-06 09:49:42 +03:00
pci.c nvme-pci: Fix an error handling path in 'nvme_probe()' 2017-07-20 08:41:56 -06:00
rdma.c nvme-rdma: unconditionally recycle the request mr 2017-07-06 09:49:43 +03:00