diff options
author | 2013-08-22 14:49:40 +0200 | |
---|---|---|
committer | 2013-08-23 10:47:17 -0700 | |
commit | 3bbc47d8b07abad56780a8e214520259808c4f8b (patch) | |
tree | 6a7bf12ca876302c8ecf200c1ec1c9e476ebe3bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: fail on usb_hub_create_port_device() errors (diff) | |
download | linux-dev-3bbc47d8b07abad56780a8e214520259808c4f8b.tar.xz linux-dev-3bbc47d8b07abad56780a8e214520259808c4f8b.zip |
usb: don't use bNbrPorts after initialization
After successful initialization hub->descriptor->bNbrPorts and
hub->hdev->maxchild are equal, but using hub->hdev->maxchild is
preferred because that value is explicitly used for initialization
of hub->ports[].
Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions