diff options
| author | Bart Westgeest <bart@elbrys.com> | 2012-06-13 15:37:18 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 17:22:57 -0700 |
| commit | 7489301a1590c2771d27a08d41fa2778791cdf9d (patch) | |
| tree | 4e6dd590ced3b835a7e0ffa7e05a5549acb1979f /scripts/basic | |
| parent | b4b700c5a61c6e6db976f60d4eb6ad369e838aa9 (diff) | |
| download | linux-7489301a1590c2771d27a08d41fa2778791cdf9d.tar.gz linux-7489301a1590c2771d27a08d41fa2778791cdf9d.zip | |
staging: usbip: cleanup and fix of vhci_hub_status
Changed setting the status bits to a byte-oriented approach. Number of
written status bits is now based on VHCI_NPORT, instead of casting
status buffer to a long. This fixes a stack corruption bug on 64-bit
based architectures, and potential byte order / endianness related
issues.
In addition updated function comments, and log statements.
Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
