summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-07-06 23:43:04 -0700
committerGuenter Roeck <linux@roeck-us.net>2024-07-07 07:48:25 -0700
commit8cad724c8537fe3e0da8004646abc00290adae40 (patch)
tree17bb79f64bf483258e0ad799e9e035b0f9cbe81f /tools/perf/scripts/python/export-to-postgresql.py
parent0811b8b03bb30b82c84283dde1ff697bc192abc0 (diff)
hwmon: (adc128d818) Fix underflows seen when writing limit attributes
DIV_ROUND_CLOSEST() after kstrtol() results in an underflow if a large negative number such as -9223372036854775808 is provided by the user. Fix it by reordering clamp_val() and DIV_ROUND_CLOSEST() operations. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions