mbox series

[v1,0/2] thermal: core: Sanitize polling delay values

Message ID 4585590.LvFx2qVVIh@rjwysocki.net
Headers show
Series thermal: core: Sanitize polling delay values | expand

Message

Rafael J. Wysocki July 5, 2024, 7:30 p.m. UTC
Hi Everyone,

These 2 patches deal with issues that may arise if the polling delay value used
for passive polling is at odds with the polling delay values used otherwise.

The first patch simply eliminates the need to worry about possible negative
polling delay values by changing the data type used for representing them
to unsigend int.

The other patch adds a sanity check to ensure that "passive" polling will not
be less frequent than "regular" polling.

Thanks!