diff options
author | 2016-12-03 11:10:34 -0800 | |
---|---|---|
committer | 2016-12-09 21:54:32 -0800 | |
commit | 64bd708ae0edced5eee764c2321b280bc1e16550 (patch) | |
tree | 4b07a781cd168dd86fa3e5905ed5a605e2262c5c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | hwmon: (adt7462) Fix overflows seen when writing into limit attributes (diff) | |
download | linux-dev-64bd708ae0edced5eee764c2321b280bc1e16550.tar.xz linux-dev-64bd708ae0edced5eee764c2321b280bc1e16550.zip |
hwmon: (adt7470) Fix overflows seen when writing into limit attributes
Fix overflows seen when writing large values into various temperature limit
attributes.
The input value passed to DIV_ROUND_CLOSEST() needs to be clamped to avoid
such overflows.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions