This patch fixes USB storage capacity detection breakage on 64-bit systems which arises due to 'unsigned long' length difference. Old code assumes that to be 32 bit and breaks because of inappropriate response buffer layout. Also this fixes a number of build warnings and changes big-endian values treatment style to be architecture-independent Signed-off-by: Firefly <service@t-firefly.com> Signed-off-by: Firefly <service@t-firefly.com> Tested-by: Firefly <service@t-firefly.com>
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided