Re: Error message when insmodding

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

 



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
--
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