[PATCH] staging: comedi: usbduxsigma: set *_cmd_running flags before submitting urbs

Dan Carpenter dan.carpenter at oracle.com
Fri Jul 26 10:32:34 UTC 2013


On Thu, Jul 25, 2013 at 04:21:13PM -0700, H Hartley Sweeten wrote:
> As pointed out by Ian Abbott, the *_cmd_running flags should be set
> before submitting the urbs. There is a possible race condition where
> an urb could complete and the flag is checked in the completion
> routine before it's set.
> 

You could use the reported by tag.

Reported-by: Ian Abbott <abbotti at mev.co.uk>

That's how people keep score officially.  ;)

regards,
dan carpenter



More information about the devel mailing list