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.

Alan Stern


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

Reply via email to