Re: [PATCH 1/2] nvme: Fix error code and log to indicate busy

2023-12-02 Thread Simon Glass
On Wed, 22 Nov 2023 at 16:52, Moritz Fischer wrote: > > Return -EBUSY if controller is found busy rather than -ENOMEM -ENODEV ? > and update the error message accordingly. > > Fixes: 982388eaa991 ("nvme: Add NVM Express driver support") > Signed-off-by: Moritz Fischer > --- > drivers/nvme/nvme

[PATCH 1/2] nvme: Fix error code and log to indicate busy

2023-11-22 Thread Moritz Fischer
Return -EBUSY if controller is found busy rather than -ENOMEM and update the error message accordingly. Fixes: 982388eaa991 ("nvme: Add NVM Express driver support") Signed-off-by: Moritz Fischer --- drivers/nvme/nvme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive