summaryrefslogtreecommitdiffstats
path: root/lib/oid_registry.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-05-04 09:48:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-05 23:38:00 +0200
commit9e6879460c8edb0cd3c24c09b83d06541b5af0dc (patch)
tree1f3b8b270280841c16771d02b9ceab5fc1733957 /lib/oid_registry.c
parentMerge branch 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadlinux-9e6879460c8edb0cd3c24c09b83d06541b5af0dc.tar.xz
linux-9e6879460c8edb0cd3c24c09b83d06541b5af0dc.zip
Give the OID registry file module info to avoid kernel tainting
Give the OID registry file module information so that it doesn't taint the kernel when compiled as a module and loaded. Reported-by: Dros Adamson <Weston.Adamson@netapp.com> Signed-off-by: David Howells <dhowells@redhat.com> cc: Trond Myklebust <Trond.Myklebust@netapp.com> cc: stable@vger.kernel.org cc: linux-nfs@vger.kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/oid_registry.c')
-rw-r--r--lib/oid_registry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/oid_registry.c b/lib/oid_registry.c
index d8de11f45908..318f382a010d 100644
--- a/lib/oid_registry.c
+++ b/lib/oid_registry.c
@@ -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>
@@ -16,6 +17,10 @@
#include <linux/bug.h>
#include "oid_registry_data.c"
+MODULE_DESCRIPTION("OID Registry");
+MODULE_AUTHOR("Red Hat, Inc.");
+MODULE_LICENSE("GPL");
+
/**
* look_up_OID - Find an OID registration for the specified data
* @data: Binary representation of the OID