diff options
author | 2025-04-18 19:34:32 +0200 | |
---|---|---|
committer | 2025-04-25 16:08:26 +0200 | |
commit | 427ab512c2c8784686738ade287e5eb52bd8292a (patch) | |
tree | 303220293ce01fb4f975d68e082dd31cce4c461b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: gpib: Remove atn_asserted global variable (diff) | |
download | wireguard-linux-427ab512c2c8784686738ade287e5eb52bd8292a.tar.xz wireguard-linux-427ab512c2c8784686738ade287e5eb52bd8292a.zip |
staging: gpib: Change error code for no listener
When doing a write a test is made to see whether there are any
listeners. The code was returning ENODEV which is incorrect.
The user library translates ENOTCONN to a user level no listener
error code.
Change the error code to ENOTCONN.
Fixes: 4cd654f84769 ("staging: gpib: Add gpio bitbang GPIB driver")
Tested-by: Dave Penkler <dpenkler@gmail.com>
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250418173434.2892-7-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions