Zongmin Zhou e7cd4b811c usbip: tools: Fix detach_port() invalid port error path
The detach_port() doesn't return error
when detach is attempted on an invalid port.

Fixes: 40ecdeb1a187 ("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-10-29 04:23:23 +01:00
..
2024-10-11 16:12:45 -07:00
2024-04-25 20:56:15 -07:00
2024-09-02 12:27:35 +02:00
2024-09-19 08:15:30 +02:00
2024-09-05 19:27:13 +01:00
2024-10-18 16:27:14 -07:00
2024-09-25 11:35:19 -07:00
2024-09-23 12:01:45 -07:00
2024-09-27 10:14:35 -07:00
2024-10-08 10:43:22 -07:00
2024-09-24 12:57:46 -07:00
2024-10-18 16:27:14 -07:00