diff options
author | 2023-10-11 16:57:53 +0300 | |
---|---|---|
committer | 2023-10-28 09:21:36 -0700 | |
commit | 10b02902048737f376104bc69e5212466e65a542 (patch) | |
tree | 098ca631fb1edd1c4bc61ff066b710b5abbbd4b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (npcm750-pwm) Add an error code check in npcm7xx_en_pwm_fan (diff) | |
download | wireguard-linux-10b02902048737f376104bc69e5212466e65a542.tar.xz wireguard-linux-10b02902048737f376104bc69e5212466e65a542.zip |
hwmon: (ltc2992) Avoid division by zero
Do not allow setting shunt resistor to 0. This results in a division by
zero when performing current value computations based on input voltages
and connected resistor values.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20231011135754.13508-1-antoniu.miclaus@analog.com
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