[PATCH 7/7] thermal: stats: add error accounting to thermal zone

From: Eduardo Valentin
Date: Wed Jun 21 2023 - 00:50:26 EST


On Tue, Jun 20, 2023 at 07:32:45PM +0200, Rafael J. Wysocki wrote:
>
>
>
> On Fri, May 19, 2023 at 5:27 AM Eduardo Valentin <evalenti@xxxxxxxxxx> wrote:
> >
> > From: Eduardo Valentin <eduval@xxxxxxxxxx>
> >
> > This patch adds an extra stat to report how many
> > temperature update failures were detected.
> > Error count is increase whenever the thermal
> > driver returns an actual error or when the temperature
> > is non positive.
>
> Why can't the temperature be negative?

I sent a wrong version here. My bad. I also need
to cover for proper negative temperature. Will send an update
on V2.

--
All the best,
Eduardo Valentin