diff options
author | Maciej Żenczykowski <[email protected]> | 2018-09-20 13:29:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-10-02 12:05:29 -0700 |
commit | e0a2e73e501c77037c8756137e87b12c7c3c9793 (patch) | |
tree | 1782c870204f6fdeae2b370e5c45867f4167a240 /scripts/bpf_helpers_doc.py | |
parent | 7d98091532491669724b3b5d4e1d7f01a5dd7efa (diff) |
usbip: fix vhci_hcd controller counting
Without this usbip fails on a machine with devices
that lexicographically come after vhci_hcd.
ie.
$ ls -l /sys/devices/platform
...
drwxr-xr-x. 4 root root 0 Sep 19 16:21 serial8250
-rw-r--r--. 1 root root 4096 Sep 19 23:50 uevent
drwxr-xr-x. 6 root root 0 Sep 20 13:15 vhci_hcd.0
drwxr-xr-x. 4 root root 0 Sep 19 16:22 w83627hf.656
Because it detects 'w83627hf.656' as another vhci_hcd controller,
and then fails to be able to talk to it.
Note: this doesn't actually fix usbip's support for multiple
controllers... that's still broken for other reasons
("vhci_hcd.0" is hardcoded in a string macro), but is enough to
actually make it work on the above machine.
See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1631148
Cc: Jonathan Dieter <[email protected]>
Cc: Valentina Manea <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]
Signed-off-by: Maciej Żenczykowski <[email protected]>
Acked-by: Shuah Khan (Samsung OSG) <[email protected]>
Tested-by: Jonathan Dieter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions