mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-13 02:38:17 +00:00
When calculating the average and standard deviation, it is required that the count be less than UINT_MAX, otherwise the do_div() will get undefined results. After 2^32 counts of data, the average and standard deviation should pretty much be set anyway. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
4.3 KiB
4.3 KiB