Re: Error message when insmodding

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

 



Greg KH wrote:
On Wed, Apr 17, 2002 at 12:00:19PM -0500, David Stroupe wrote:
When I load a device driver I get the message:

Warning: loading driver.o will taint the kernel : no license

This is a driver that I created myself and it seems to load and function
properly regardless of this message.

What does this mean?

How do I resolve it?

Add a "MODULE_LICENSE()" macro to your code, with the proper string for
whatever license your driver is.

So for example, if your code is released under the GPL, you would add:
MODULE_LICENSE("GPL");
to your file.

Hope this helps,

greg k-h


Thanks Greg.  Since this appears to be new since I developed this driver using 2.4.7,(now using 2.4.9) should I do an
ifdef MODULE_LICENSE
MODULE_LICENSE("whatever")
endif

to allow for compilation under older kernels?

Thanks again!!
-- 
Best regards,
David Stroupe
Keyed-Up Software

[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