commit | 9a83190300867fb024d53f47c31088e34188efc1 | [log] [tgz] |
---|---|---|
author | Guido Kiener <guido.kiener@rohde-schwarz.com> | Tue Sep 25 01:30:31 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 28 15:12:08 2018 +0200 |
tree | 3624fad2e64089cea009ede8bbf98ea7744e37e8 | |
parent | b690020a498e33c098dd2b5554a7a59fc08b5ca4 [diff] |
usb: usbtmc: uninitialized symbol 'actual' in usbtmc_ioctl_clear Fix uninitialized symbol 'actual' in function usbtmc_ioctl_clear. When symbol 'actual' is not initialized and usb_bulk_msg() fails, the subsequent kernel debug message shows a random value. Signed-off-by: Guido Kiener <guido.kiener@rohde-schwarz.com> Fixes: dfee02ac4bce ("usb: usbtmc: Fix ioctl USBTMC_IOCTL_CLEAR") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>