Commit 69f1a527 authored by David Howells's avatar David Howells Committed by Greg Kroah-Hartman

Give the OID registry file module info to avoid kernel tainting

commit 9e687946 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: default avatarDros Adamson <Weston.Adamson@netapp.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7ab9cbaa
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment