diff options
author | Felipe Balbi <[email protected]> | 2009-02-21 15:29:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-02-27 14:40:51 -0800 |
commit | c2c963217bb1e8d53622d41b9e9ae706d0d02c07 (patch) | |
tree | 63f915a350231a13c8481fa7a86e25f16621483a /lib/string_helpers.c | |
parent | 34f32c9701013ac5af89b82a6ae285e790b643e7 (diff) |
USB: musb: be careful with 64K+ transfer lengths (gadget side)
request->actual is an unsigned and we should use the same
variable type for fifo_count otherwise we might lose some
data if request->length >= 64kbytes.
[ [email protected]: fix compiler warning ]
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions