[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to cause insmod to return an error?



Hi..

> i noticed that even though a module's probe function
> returns an error insmod will still load it and will only
> print a message to /var/log/messages

Not sure, but if you have the code in hand, if something goes
wrong...how about returning non zero value in the end  of module's
init function?

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ