On Sat, 21 Jul 2007 02:21:55 +0300, Samuel Ortiz <[EMAIL PROTECTED]> wrote:

> > +/* Callback transmission routine */
> > +static void ks959_speed_irq(struct urb *urb)
> > +{
> > +   /* unlink, shutdown, unplug, other nasties */
> > +   if (urb->status != 0) {
> > +           err("ks959_speed_irq: urb asynchronously failed - %d", 
> > urb->status);
> 
> Here, shouldn't we call unlink_urb() if depending on the status value
> (in the -EINPROGRESS at least) ?

If a CPU is executing a callback, the URB is unlinked by definition.
So, I see no opportunity to invoke unlink_urb _here_ as you said.

-- Pete

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to