On Tue, May 15, 2001 at 02:40:08PM +0200, Oliver Neukum wrote:
> On Monday, 14. May 2001 23:31, Tom Rini wrote:
> > Hello.  The attached patch makes the 'normal' USB scanner register w/
> > devfs. Comments/questions/et al?  Thanks..
> 
> You may pass a null pointer to devfs_unregister is registering has failed, eg 
> due to low memory. I don't know whether this is a bug, have you checked ?

Well, if devfs_unregister gets a NULL, it just returns.  But, if 
devfs_register can't get the memory, it returns NULL before doing anything
to the node.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to