diff options
| author | 2025-12-19 17:48:14 +0200 | |
|---|---|---|
| committer | 2026-01-31 07:38:31 -0800 | |
| commit | aa8126b914a767ccacaad53596193d4b97abcd58 (patch) | |
| tree | 44da3106c1b3afe671ded196f32af470734d0f2b /tools/perf/scripts/python/stackcollapse.py | |
| parent | hwmon: (fam15h_power) Use generic power management (diff) | |
hwmon: Fix wrong return errno in *sanitize_name()
Currently if user of *sanitize_name() function gives nullptr for name
they get's ENOMEM. Logically it should be EINVAL.
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Link: https://lore.kernel.org/r/20251219-hwmon-fixes-v1-1-21b29097ea3b@gmail.com
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
