diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-09-23 16:18:36 +0200 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2019-09-25 21:53:14 +0200 |
commit | bc4f6e06a90ea016855fc67212b4d500145f0b8a (patch) | |
tree | 6f4882e583a7f1bb652fa38a4cd7da9d25afa541 /init | |
parent | nvme-pci: Save PCI state before putting drive into deepest state (diff) | |
download | linux-bc4f6e06a90ea016855fc67212b4d500145f0b8a.tar.xz linux-bc4f6e06a90ea016855fc67212b4d500145f0b8a.zip |
nvme: fix an error code in nvme_init_subsystem()
"ret" should be a negative error code here, but it's either success or
possibly uninitialized.
Fixes: 32fd90c40768 ("nvme: change locking for the per-subsystem controller list")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions