Jerry Feldman wrote:
On Sunday 08 May 2005 12:27 am, Pierre Patino wrote:
Yes this is an old topic. I've read everything I could find including the README.SUSE file and couldn't find the straight answer to this question: How do I get rid of this message when I write a plain-vanilla "hello world" loadable module? MODULE_LICENSE is set to "GPL". I eventually want to release this module and don't want to jam a "2" into /proc/sys/kernel/unsupported. What's missing in the source code? TIA&Cheers
Try inserting this into your course code below the includes. MODULE_LICENSE("GPL"); MODULE_AUTHOR("Pierre Patino");
As I said in the original message, I already have set MODULE_LICENSE("GPL"). I also set MODULE_LICENSE(). Hower, /var/log/messages still tells me that the kernel is tainted. Is this because I'm using insmod instead of letting the kernel deal with the modules via the modules.conf file?