Skip to contentSkip to conversation

Add missing MODULE_LICENSE tag to oid_registry

PATCH Dave Jones 1 participant 1 message May 3, 2013 Library code

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

if CONFIG_OID_REGISTRY=m

[  241.094450] oid_registry: module license 'unspecified' taints kernel.
lib/oid_registry.c +3 -0
index d8de11f..6eff319 100644
@@ -9,6 +9,7 @@
  * 2 of the Licence, or (at your option) any later version.
  */
 
+#include <linux/module.h>
 #include <linux/export.h>
 #include <linux/oid_registry.h>
 #include <linux/kernel.h>
@@ -168,3 +169,5 @@ int sprint_OID(enum OID oid, char *buffer, size_t bufsize)
 	return ret;
 }
 EXPORT_SYMBOL_GPL(sprint_OID);
+
+MODULE_LICENSE("GPL");