diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2025-06-23 23:20:04 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-06-24 21:37:49 +0200 |
commit | 6cb0e9da949aeb022b28a9b698f767c8828e283d (patch) | |
tree | 5be34857157c442666b076c966f15612b3cf4dd2 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | d94a32ac688f953dc9a9f12b5b4139ecad841bbb (diff) |
pinctrl: eswin: Fix unsigned comparison to less than zero issue
The u32 variable voltage is being compared to less than zero and
this can never be true. Fix this by making voltage an int type which
is the same type as the return from the call to regulator_get_voltage.
Fixes: 5b797bcc00ef ("pinctrl: eswin: Add EIC7700 pinctrl driver")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/20250623222004.280928-1-colin.i.king@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions