Re: [PATCH] USB: add queued-unlinks test case to usbtest driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 16, 2011 at 10:55:23AM -0400, Alan Stern wrote:
> This patch (as1452) adds a new test case to the usbtest driver.  Test
> 17 exercises the unlink-from-queue pathways in the host.  It queues a
> user-specified number of bulk-OUT URBs of user-specified size, unlinks
> the fourth- and second-from-last URBs in the queue, and then waits to
> see if all the URBs complete in the expected way (except of course
> that the unlinked URBs might complete normally, if they weren't
> unlinked soon enough).
> 
> This new test has confirmed the existence of a bug in the ehci-hcd
> driver, to be fixed by a forthcoming patch.
> 
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> CC: David Brownell <david-b@xxxxxxxxxxx>

This causes the following build errors:

drivers/usb/misc/usbtest.c: In function âbuffer_offsetâ:
drivers/usb/misc/usbtest.c:273:9: warning: cast from pointer to integer of different size
drivers/usb/misc/usbtest.c: In function âusbtest_ioctlâ:
drivers/usb/misc/usbtest.c:2094:2: error: duplicate case value
drivers/usb/misc/usbtest.c:2072:2: error: previously used here

Care to resend this?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux