Re: [PATCH] USB: usbtest fix endless loop in unlink tests.

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

 



> For whatever it's worth, I noticed this same bug and wrote the
> following patch a couple of years ago.  For reasons that escape me now,
> the patch was never merged.  I suspect it isn't as good as your patch;
> what do you think?
>

I did something similar to that initially too to prove the bug.
Although your patch is certainly simpler than mine I think my version
makes it clearer that we are looping until the URB has completed
rather than just a magic 5 times max.

Martin
--
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