diff options
| author | Kari Argillander <kari.argillander@gmail.com> | 2025-12-19 17:48:14 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-01-31 07:38:31 -0800 |
| commit | aa8126b914a767ccacaad53596193d4b97abcd58 (patch) | |
| tree | 44da3106c1b3afe671ded196f32af470734d0f2b /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 9ef5c1065cd12e2288c2185f88da5cffce0a4623 (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/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
