diff options
| author | 2025-02-10 11:51:59 +0100 | |
|---|---|---|
| committer | 2025-02-24 10:02:33 +0100 | |
| commit | 74abd086d2ee5ef10f68848cfe39e271ac798685 (patch) | |
| tree | a30d3be1038fb77fe6014952d3559366b9e7bced /scripts/Makefile.thinlto | |
| parent | gpiolib: sanitize the return value of gpio_chip::get() (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
