Hi, On Tue, Jul 08, 2003 at 03:50:17PM +0400, Sergey Vlasov wrote: > Disconnect handling in the USB scanner driver is buggy. This can be > reproduced by unplugging the scanner while it is used by e.g. xsane > (the complete oops report is below).
Your fix works for me. Thanks! I've send it to GregGH. > - Check for the free minor number availability is wrong (it reads past > the end of p_scn_table). Correct. This part of the code always looked fishy to me but I never noticed what's wrong actually. I've sent a patch for this, also. > - kmalloc error handling in probe_scanner() does not unlink the IRQ > URB submitted previously. True. Shouldn't the URB also be freed with usb_free_urb() here? Bye, Henning ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
