Hi! > @@ -183,7 +183,8 @@ int driver_register(struct device_driver > void driver_unregister(struct device_driver * drv) > { > bus_remove_driver(drv); > - wait_for_completion(&drv->unloaded); > + if (!drv->unloaded.done) > + WARN_ON(1); > }
WARN_ON(!done)? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/