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

From: Rafael J. Wysocki
Date: Tue Jun 20 2023 - 13:33:05 EST


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?