]> Gentwo Git Trees - linux/.git/commit
cpuidle: governors: teo: Use s64 consistently in teo_update()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Nov 2025 16:24:40 +0000 (17:24 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 14 Nov 2025 14:20:01 +0000 (15:20 +0100)
commit8f3f01082d7ab334706c7d96c9271cd99e68aabc
tree21b3ae687bd8a8a876bd203d0809271b53f8add9
parent17673f64a002fa7bd8f688f45b12ed32b59dba26
cpuidle: governors: teo: Use s64 consistently in teo_update()

Two local variables in teo_update() are defined as u64, but their
values are then compared with s64 values, so it is more consistent
to use s64 as their data type.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Tested-by: Christian Loehle <christian.loehle@arm.com>
Link: https://patch.msgid.link/3026616.e9J7NaK4W3@rafael.j.wysocki
drivers/cpuidle/governors/teo.c