antelope 发表于 2003-3-4 16:52:54

如果init_modules失败,还调用clean_modu

请指教

Dragonfly 发表于 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 .
页: [1]
查看完整版本: 如果init_modules失败,还调用clean_modu