diff options
author | Dan Carpenter <[email protected]> | 2024-10-17 22:31:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-10-19 10:02:31 +0200 |
commit | 1f6bfe18d0fc1c4f22720ed163c85f692ea65c6a (patch) | |
tree | e56a869fa97f362295a3ff4d09ddfd2679bcad52 /tools/perf/scripts/python/parallel-perf.py | |
parent | cbf821e689916ef0c60b0bd8e69daa13a45f2016 (diff) |
staging: gpib: fix uninitialized variable in usb_gpib_command()
The number of bytes written is supposed to be zero at the start of this
function but only one caller, ibcmd(), initializes it to zero. For the
other three callers, setup_serial_poll(), read_serial_poll_byte() and
cleanup_serial_poll(), it's an uninitialized variable.
Fixes: fce79512a96a ("staging: gpib: Add LPVO DIY USB GPIB driver")
Signed-off-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/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions