aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-04-18 15:35:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-18 16:49:00 +0200
commit4960bce324fedb1966eaf737bcb5eb1cef8865c9 (patch)
tree83178b06c107acac04c5675340704f3dfc8848e5 /lib/mpi/mpi-sub-ui.c
parentstaging: rtl8723bs: Use % 4096 instead of & 0xfff (diff)
downloadwireguard-linux-4960bce324fedb1966eaf737bcb5eb1cef8865c9.tar.xz
wireguard-linux-4960bce324fedb1966eaf737bcb5eb1cef8865c9.zip
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions