summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2026-07-28 08:41:40 -0700
committerGuenter Roeck <linux@roeck-us.net>2026-07-28 09:02:57 -0700
commita19038a200f18d9e74ac30081797917d0886e16b (patch)
treeb6dbdafc2c3823f125d353ea73fe8331006916f9 /tools/perf/scripts/python/stackcollapse.py
parent92413f439d1ec5e55b73ede8d66a7b971cbd1ced (diff)
hwmon: (pmbus) Fix return value from pmbus_update_byte_data()
pmbus_update_byte_data() is supposed to return a negative error code or 0. However, if no change is made to the register, it actually returns the register value. This can result in problems if the calling code explicitly expects to see an error code or 0. Fix it to return 0 on success or the error code as expected. Fixes: 11c119986f270 ("hwmon: (pmbus) add helpers for byte write and read modify write") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions