aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYuyang Du <[email protected]>2017-04-06 06:03:23 +0800
committerGreg Kroah-Hartman <[email protected]>2017-04-08 12:17:42 +0200
commit37e47d5cfeec1dcc8246401ce84f2780f99ce990 (patch)
tree5b77bd129a98f725deed9ddc69149a63cbc301b0 /net/unix/af_unix.c
parent69307ccb9ad7ccb653e332de68effdeaaab6907d (diff)
usb: usbip tool: Fix get_nports()
The commit 0775a9cbc694e8c72 ("usbip: vhci extension: modifications to vhci driver") introduced multiple controllers, and nports as a sys file, and claimed to read the nports from it, but it didn't. In addition, the get_nports() has been so wrong that even with 8 port lines for instance, it gets 7 (I am guessing it is due to a '\n' mess). Nevertheless, we fix it by reading the nports attribute. Reviewed-by: Krzysztof Opasiak <[email protected]> Signed-off-by: Yuyang Du <[email protected]> Acked-by: Shuah Khan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions