]> err.no Git - linux-2.6/commit
USB: usbtest.c: unsigned retval makes ctrl_out return 0 in case of error
authorOrjan Friberg <orjan.friberg@axis.com>
Wed, 9 Aug 2006 06:31:40 +0000 (23:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Aug 2006 21:06:06 +0000 (14:06 -0700)
commitf54fa84dda211f68f65002efa44142207c886c79
tree117113e866346afa5737a78ba3ba2085b059aab1
parent2011e9249a252e0655807fbe6841f6cfe6b6c197
USB: usbtest.c: unsigned retval makes ctrl_out return 0 in case of error

In my quest to try and figure out why test 14 (control write) doesn't
work with my EZ-USB board, I noticed that sometimes testusb reported
no error even though the kernel log complained "byte 0 is 0 not 2" etc.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbtest.c