[PATCH] nvme-hwmon: don't return errors from nvme_hwmon_init

Serge Semin fancer.lancer at gmail.com
Tue Oct 18 08:21:48 PDT 2022


On Tue, Oct 18, 2022 at 05:16:25PM +0200, Christoph Hellwig wrote:
> On Tue, Oct 18, 2022 at 06:14:21PM +0300, Serge Semin wrote:
> > On Tue, Oct 18, 2022 at 04:58:08PM +0200, Christoph Hellwig wrote:
> > > An NVMe controller works perfectly fine even when the hwmon
> > > initialization fails.  Stop returning errors from nvme_hwmon_init to
> > > handle this case consistently.
> > > 
> > > Signed-off-by: Christoph Hellwig <hch at lst.de>
> > 
> > I was going to resubmit the series taking into account your resolution
> > on this issue since patch #3 still needs to be resent. But you just
> > submitted a fixup patch. Less worries to me. I'll resend patch #3
> > separately then. Thanks.
> 

> I already have a locally rebased version, so don't bother.

Just to clarify. Are you saying that you have already got a patch for
the sed-opal driver which fixes opal_dev.{cmd,resp} buffers being used
for DMA and takes the Jonathan Derrick note into account?
Here is his note:
Link: https://lore.kernel.org/linux-nvme/cce74aec-61b1-d5eb-1b62-746e45ebfe69@linux.dev/

-Sergey



More information about the Linux-nvme mailing list