Alan Stern wrote: > On Thu, 31 Aug 2006, Cedric Le Goater wrote: > >> Alan Stern wrote: >>> On Thu, 31 Aug 2006, Cedric Le Goater wrote: >>> >>>> - rc = kernel_thread(usu_probe_thread, (void*)type, CLONE_VM); >>>> + task = kthread_run(usu_probe_thread, (void*)type, "libusual_%d", type); >>>> + rc = PTR_ERR(task); >>> This conversion is not valid unless IS_ERR(task) is true. >> yes. this is silly ... a fix is bellow. >> >>> Did you actually try using your new code? >> compiled, booted, loaded but not as far as having hardware using it >> unfortunately. What kind of hardware would trigger this thread to load the >> correct module ? usb key ? > > Yes, a USB key would cause this code to run.
So, i've booted a 2.6.18-rc4-mm3 with this patch on an FC5 using the close to native configuration file, i.e. close to a allmodconfig. I've plugged and unplugged a few times a USB key, removing between each try the usb-storage module, scsi modules and *fat modules. Didn't see issue. It seems to be ok. Cheers, C. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users