Re: Crash on insmod

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

 



> Hi, when I write the init and exit functions, I always put it static. 
> Try to make it a static function and see whether it solves the problem.
> 

AFAIK, declaring a function as static, means it can not be exported out of 
the object file ur creating ( i mean, u can only use it locally. )

anyway, this seems to have nothing to do with ur problem. the module is 
fine, and should have no problems. 

how did u compile it? which version of gcc? what was ur command line? 
sending an oops will probably help....

cheers.



-- 
========================================================================
nir.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux