diff options
author | GwanYeong Kim <gy741.kim@gmail.com> | 2019-10-18 06:22:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-28 19:51:06 +0300 |
commit | 28df0642abbf6d66908a2858922a7e4b21cdd8c2 (patch) | |
tree | 9450394f19c6b8fc419469baeea8f241682121c5 /drivers/usb/usbip | |
parent | d5501d5c29a2e684640507cfee428178d6fd82ca (diff) | |
download | linux-28df0642abbf6d66908a2858922a7e4b21cdd8c2.tar.xz |
usbip: tools: Fix read_usb_vudc_device() error path handling
This isn't really accurate right. fread() doesn't always
return 0 in error. It could return < number of elements
and set errno.
Signed-off-by: GwanYeong Kim <gy741.kim@gmail.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20191018032223.4644-1-gy741.kim@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip')
0 files changed, 0 insertions, 0 deletions