linux-yocto/tools/usb
Zongmin Zhou 53e0684f30 usbip: tools: Fix detach_port() invalid port error path
commit e7cd4b811c upstream.

The detach_port() doesn't return error
when detach is attempted on an invalid port.

Fixes: 40ecdeb1a1 ("usbip: usbip_detach: fix to check for invalid ports")
Cc: stable@vger.kernel.org
Reviewed-by: Hongren Zheng <i@zenithal.me>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Zongmin Zhou <zhouzongmin@kylinos.cn>
Link: https://lore.kernel.org/r/20241024022700.1236660-1-min_halo@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-08 16:28:22 +01:00
..
ffs-aio-example tools: usb: ffs-aio-example: Fix build error with aarch64-*-gnu-gcc toolchain(s) 2022-11-09 12:37:56 +01:00
usbip usbip: tools: Fix detach_port() invalid port error path 2024-11-08 16:28:22 +01:00
.gitignore
Build
ffs-test.c
hcd-tests.sh
Makefile kbuild: replace $(if A,A,B) with $(or A,B) 2022-02-15 12:25:56 +09:00
testusb.c tools: usb: testusb: Add super-plus speed reporting 2022-07-08 14:54:49 +02:00