diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-10 11:51:59 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-24 10:02:33 +0100 |
| commit | 74abd086d2ee5ef10f68848cfe39e271ac798685 (patch) | |
| tree | a30d3be1038fb77fe6014952d3559366b9e7bced /tools/perf/scripts/python | |
| parent | gpiolib: sanitize the return value of gpio_chip::get() (diff) | |
| download | linux-74abd086d2ee5ef10f68848cfe39e271ac798685.tar.gz linux-74abd086d2ee5ef10f68848cfe39e271ac798685.zip | |
gpiolib: sanitize the return value of gpio_chip::get_multiple()
As per the API contract, the get_multiple() callback is only allowed to
return 0 or a negative error number. Filter out anything else.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250210-gpio-sanitize-retvals-v1-5-12ea88506cb2@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
