summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_host.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2009-02-21 15:29:42 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-27 14:40:51 -0800
commitc2c963217bb1e8d53622d41b9e9ae706d0d02c07 (patch)
tree63f915a350231a13c8481fa7a86e25f16621483a /drivers/usb/musb/musb_host.c
parent34f32c9701013ac5af89b82a6ae285e790b643e7 (diff)
downloadblackbird-op-linux-c2c963217bb1e8d53622d41b9e9ae706d0d02c07.tar.gz
blackbird-op-linux-c2c963217bb1e8d53622d41b9e9ae706d0d02c07.zip
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. [ dbrownell@users.sourceforge.net: fix compiler warning ] Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_host.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud