Commit e7cd4b8
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: 40ecdeb ("usbip: usbip_detach: fix to check for invalid ports")
Cc: [email protected]
Reviewed-by: Hongren Zheng <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Signed-off-by: Zongmin Zhou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 5963e07 commit e7cd4b8
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments