summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2011-06-24 01:09:49 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-02 01:44:58 +0400
commit5030ec730279eabafccf862f3c8393af90c258a5 (patch)
tree764b3555dbaf7157bd3e0313d4f8f138ab64d3a7 /lib/mpi/mpiutil.c
parent6e7be1a0a87da3c54f0036a1601a58ac0616b2bb (diff)
downloadlinux-5030ec730279eabafccf862f3c8393af90c258a5.tar.xz
USB: gadget: fix req length in sourcesink_setup()
The recent commit 2edb11cbac fixed req->length in the composite_setup() function, but that will cause all g_zero tests to fail like: root#> ./testusb -D /proc/bus/usb/002/021 -t14 -c 15000 -s 256 -v 1 unknown speed /proc/bus/usb/002/021 /proc/bus/usb/002/021 test 14 --> 32 (Broken pipe) We need to fix req->length in sourcesink_setup() as well to avoid this. Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions