summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-01-25 11:35:07 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-01-29 13:45:49 +0300
commit6933ba529d06afdd3faf5501855e410b46b77160 (patch)
treec1cd919e34933f98ede5577a4016af050a658957 /tools/perf/scripts/python/task-analyzer.py
parent88b7049635dc5d0e2a7dfaaf89e70a9654ed6561 (diff)
downloadlinux-6933ba529d06afdd3faf5501855e410b46b77160.tar.xz
gpio: improve the API contract for setting direction
If a GPIO driver returns a positive integer from one of the direction setter callbacks, we'll end up propagating it to user-space. Whether we should sanitize the values returned by callbacks is a different question but let's first improve the documentation and fortify the contract with GPIO providers. Reported-by: José Guilherme de Castro Rodrigues <joseguilhermebh@hotmail.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Kent Gibson <warthog618@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions