summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-02-10 11:51:59 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-02-24 10:02:33 +0100
commit74abd086d2ee5ef10f68848cfe39e271ac798685 (patch)
treea30d3be1038fb77fe6014952d3559366b9e7bced /tools/perf/scripts/python/exported-sql-viewer.py
parent86ef402d805d606a10e6da8e5a64a51f6f5fb7e2 (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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions