[PATCH v2] nvme-hwmon: consistently ignore errors from nvme_hwmon_init

Christoph Hellwig hch at lst.de
Wed Oct 19 03:41:58 PDT 2022


On Wed, Oct 19, 2022 at 12:39:08PM +0300, Sagi Grimberg wrote:
>
>> An NVMe controller works perfectly fine even when the hwmon
>> initialization fails.  Stop returning errors that do not come from a
>> controller reset from nvme_hwmon_init to handle this case consistently.
>
> Maybe I'm missing something, but nvme_hwmon_init is not called
> from the reset flow, only in the first init, I don't understand
> how the commit msg follows the code.

If the controller is reset during initialization we'll get EINTR
here.



More information about the Linux-nvme mailing list