projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
534c97b
)
Give the OID registry file module info to avoid kernel tainting
author
David Howells
<
[email protected]
>
Sat, 4 May 2013 07:48:27 +0000
(08:48 +0100)
committer
Linus Torvalds
<
[email protected]
>
Sun, 5 May 2013 21:38:00 +0000
(14:38 -0700)
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 <
[email protected]
>
Signed-off-by: David Howells <
[email protected]
>
cc: Trond Myklebust <
[email protected]
>
cc:
[email protected]
cc:
[email protected]
Signed-off-by: Linus Torvalds <
[email protected]
>
lib/oid_registry.c
patch
|
blob
|
history
diff --git
a/lib/oid_registry.c
b/lib/oid_registry.c
index d8de11f45908a88c8856a8adc8a2fb0f26f31671..318f382a010d62f0f6b0c536ee038f41100e57cf 100644
(file)
--- 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