summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-04-18 16:35:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-18 17:49:00 +0300
commit4960bce324fedb1966eaf737bcb5eb1cef8865c9 (patch)
tree83178b06c107acac04c5675340704f3dfc8848e5 /tools/perf/scripts/python/stackcollapse.py
parenta5df13cd7b05f87f864c2d575020d287879659aa (diff)
downloadlinux-4960bce324fedb1966eaf737bcb5eb1cef8865c9.tar.xz
staging: gpib: Add return value to request_control
A number of drivers are unable to release control due to hardware or software limitations. As request_system_control was defined as void, no error could be signalled. This patch changes the prototype of request_system_control to int and adds the appropriate checking and returns. In the case that a board cannot release control EINVAL is returned. If a driver does not implement request_system_control EPERM is returned. Signed-off-by: Dave Penkler <dpenkler@gmail.com> Link: https://lore.kernel.org/r/20250418133537.22491-1-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions