From: Bart Westgeest Date: Wed, 13 Jun 2012 19:37:18 +0000 (-0400) Subject: staging: usbip: cleanup and fix of vhci_hub_status X-Git-Tag: v3.6-rc1~100^2~756 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7489301a1590c2771d27a08d41fa2778791cdf9d;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed