aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Howells2013-05-04 02:48:27 -0500
committerGreg Kroah-Hartman2013-05-07 22:08:24 -0500
commit3b9e9dd0f30c73bb90175124ed33b52d59d79c16 (patch)
tree7df3273325a1274c33bc763fed8567fde10190eb /lib
parentf9581149b12db1f0896158669447f368557ee25a (diff)
downloadkernel-video-3b9e9dd0f30c73bb90175124ed33b52d59d79c16.tar.gz
kernel-video-3b9e9dd0f30c73bb90175124ed33b52d59d79c16.tar.xz
kernel-video-3b9e9dd0f30c73bb90175124ed33b52d59d79c16.zip
Give the OID registry file module info to avoid kernel tainting
commit 9e6879460c8edb0cd3c24c09b83d06541b5af0dc upstream. 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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
-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 d8de11f4590..318f382a010 100644
--- a/lib/oid_registry.c
+++ b/lib/oid_registry.c
@@ -9,6 +9,7 @@
9 * 2 of the Licence, or (at your option) any later version. 9 * 2 of the Licence, or (at your option) any later version.
10 */ 10 */
11 11
12#include <linux/module.h>
12#include <linux/export.h> 13#include <linux/export.h>
13#include <linux/oid_registry.h> 14#include <linux/oid_registry.h>
14#include <linux/kernel.h> 15#include <linux/kernel.h>
@@ -16,6 +17,10 @@
16#include <linux/bug.h> 17#include <linux/bug.h>
17#include "oid_registry_data.c" 18#include "oid_registry_data.c"
18 19
20MODULE_DESCRIPTION("OID Registry");
21MODULE_AUTHOR("Red Hat, Inc.");
22MODULE_LICENSE("GPL");
23
19/** 24/**
20 * look_up_OID - Find an OID registration for the specified data 25 * look_up_OID - Find an OID registration for the specified data
21 * @data: Binary representation of the OID 26 * @data: Binary representation of the OID