diff options
author | Dave Penkler <dpenkler@gmail.com> | 2024-11-04 20:50:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-07 11:27:35 +0300 |
commit | 7c8a7d2f88caeaa376964b57243e26e018ad656d (patch) | |
tree | 642876114e926d90f9839687867c9e5d27a6ea7e /scripts/lib/kdoc/kdoc_files.py | |
parent | 3c2ae0cbaf341e579892f2a67f7701931de949b4 (diff) | |
download | linux-7c8a7d2f88caeaa376964b57243e26e018ad656d.tar.xz |
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 <dpenkler@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241104175014.12317-13-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions