diff options
author | Dave Penkler <[email protected]> | 2024-11-04 18:50:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-11-07 09:27:35 +0100 |
commit | 7c8a7d2f88caeaa376964b57243e26e018ad656d (patch) | |
tree | 642876114e926d90f9839687867c9e5d27a6ea7e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3c2ae0cbaf341e579892f2a67f7701931de949b4 (diff) |
staging: gpib: Correct check for max secondary address
GPIB secondary addresses can be between 0 and 31 inclusive
unlike primary addresses where address 31 is not a valid device
address. When 31 is used as a primary talk address it
forms the UNT (Untalk) command and when used as a listener address it
forms the UNL (Unlisten) commmand.
The library was incorrectly not allowing a secondary address
with a value of 31 to be used.
Fixes: 9dde4559e939 ("staging: gpib: Add GPIB common core driver")
Signed-off-by: Dave Penkler <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions