[PATCH] nvme: return errors for hwmon init

Christoph Hellwig hch at lst.de
Thu Sep 17 11:52:37 EDT 2020


On Thu, Sep 17, 2020 at 08:50:25AM -0700, Keith Busch wrote:
> Initializing the nvme hwmon retrieves a log from the controller. If the
> controller is broken, we need to return the appropriate error so that
> subsequent initialization doesn't attempt to continue.
> 
> Reported-by: Tong Zhang <ztong0001 at gmail.com>
> Signed-off-by: Keith Busch <kbusch at kernel.org>

Looks good to me.  I'm about to send a PR to Jens later today,
but I plan to pick this up for 5.9 after that.



More information about the Linux-nvme mailing list