All of lore.kernel.org
 help / color / mirror / Atom feed
* Error message when insmodding
@ 2002-04-17 16:03 David Stroupe
  2002-04-17 19:22 ` Steven Smith
  0 siblings, 1 reply; 2+ messages in thread
From: David Stroupe @ 2002-04-17 16:03 UTC (permalink / raw)
  To: linux-newbie

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

-- 
Best regards,
David Stroupe
Keyed-Up Software


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error message when insmodding
  2002-04-17 16:03 Error message when insmodding David Stroupe
@ 2002-04-17 19:22 ` Steven Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Smith @ 2002-04-17 19:22 UTC (permalink / raw)
  To: David Stroupe; +Cc: linux-newbie

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

> 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?
Recent kernels have a ``MODULE_LICENSE'' macro, which allows you to specify
a license for your module. This is so as kernels with binary-only modules
are flagged as such in bug reports, and don't cause people to waste too much
time with unfixable problems. All this warning means is that your module
has no MODULE_LICENSE.

The tainted bit just means that something odd has happened which will make
bug reports less useful/accurate.

> How do I resolve it?
Add a MODULE_LICENSE. This is defined in linux/module.h, and is used as:

MODULE_LICENSE("Name of your license");

somewhere near the bottom of your module. Licenses recognised by insmod
are (without checking):

GPL
Dual MPL/GPL
Dual BSD/GPL
GPL and additional rights

Anything else will probably get rid of your error message, but won't let
you use GPLONLY kernel exports.

Steven Smith,
sos22@cam.ac.uk.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-17 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-17 16:03 Error message when insmodding David Stroupe
2002-04-17 19:22 ` Steven Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.