diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-28 10:17:57 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-16 18:31:39 +0300 |
| commit | 484e62252212c5b5fc62eaee5e4977143cb159c6 (patch) | |
| tree | 24d1ca989463ffb210a49f44f1ec65335c3dd577 /include/linux/writeback.h | |
| parent | 96118565d24e7691e423d73be224b3a3fffc4680 (diff) | |
| download | linux-484e62252212c5b5fc62eaee5e4977143cb159c6.tar.xz | |
gpib: Fix error code in ni_usb_write_registers()
If ni_usb_receive_bulk_msg() succeeds but without reading 16 bytes, then
the error code needs to be set. The current code returns success.
Fixes: 4e127de14fa7 ("staging: gpib: Add National Instruments USB GPIB driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aSlMpbE4IrQuBGFS@stanley.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions
