找回密码
 注册
查看: 805|回复: 1

如果init_modules失败,还调用clean_modu

[复制链接]
发表于 2003-3-4 16:52:54 | 显示全部楼层 |阅读模式
请指教
发表于 2003-3-16 23:42:54 | 显示全部楼层
if your code returns fail in 'init_module', then kernel will not call 'cleanup_module' and this module isnot loaded. if u crash in init_module, you always need reboot u linux.
if u feel interested, please see linux device driver, 2nd, chapter 2 .
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-11 10:43 , Processed in 0.032240 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表