commit | bc4f6e06a90ea016855fc67212b4d500145f0b8a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Sep 23 17:18:36 2019 +0300 |
committer | Sagi Grimberg <sagi@grimberg.me> | Wed Sep 25 12:53:14 2019 -0700 |
tree | 6f4882e583a7f1bb652fa38a4cd7da9d25afa541 | |
parent | 7cbb5c6f9aa7cfda7175d82a9cf77a92965b0c5e [diff] |
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>