|
|
@@ -96,7 +96,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
|
|
|
|
|
|
--- a/init/Kconfig
|
|
|
+++ b/init/Kconfig
|
|
|
-@@ -2195,6 +2195,13 @@ config TRIM_UNUSED_KSYMS
|
|
|
+@@ -2198,6 +2198,13 @@ config TRIM_UNUSED_KSYMS
|
|
|
|
|
|
If unsure, or if you need to build out-of-tree modules, say N.
|
|
|
|
|
|
@@ -112,7 +112,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
|
|
|
config MODULES_TREE_LOOKUP
|
|
|
--- a/kernel/module.c
|
|
|
+++ b/kernel/module.c
|
|
|
-@@ -3252,9 +3252,11 @@ static int setup_load_info(struct load_i
|
|
|
+@@ -3256,9 +3256,11 @@ static int setup_load_info(struct load_i
|
|
|
|
|
|
static int check_modinfo(struct module *mod, struct load_info *info, int flags)
|
|
|
{
|
|
|
@@ -125,7 +125,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
|
|
|
if (flags & MODULE_INIT_IGNORE_VERMAGIC)
|
|
|
modmagic = NULL;
|
|
|
|
|
|
-@@ -3275,6 +3277,7 @@ static int check_modinfo(struct module *
|
|
|
+@@ -3279,6 +3281,7 @@ static int check_modinfo(struct module *
|
|
|
mod->name);
|
|
|
add_taint_module(mod, TAINT_OOT_MODULE, LOCKDEP_STILL_OK);
|
|
|
}
|