Re: [PATCH] nvme: fix an error code in nvme_init_subsystem()

2019-09-27 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH] nvme: fix an error code in nvme_init_subsystem()

2019-09-23 Thread Keith Busch
On Mon, Sep 23, 2019 at 05:18:36PM +0300, Dan Carpenter wrote: > "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 Thanks, patch

[PATCH] nvme: fix an error code in nvme_init_subsystem()

2019-09-23 Thread Dan Carpenter
"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 --- drivers/nvme/host/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)