projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.9 to 4.9.207
[openwrt/staging/wigyori.git]
/
target
/
linux
/
generic
/
hack-4.9
/
204-module_strip.patch
diff --git
a/target/linux/generic/hack-4.9/204-module_strip.patch
b/target/linux/generic/hack-4.9/204-module_strip.patch
index fcca6bd02c6114747e06d72cb8914a8fdff49bd0..2f34791cd984e44556c59f97dd742a6d812c93a1 100644
(file)
--- a/
target/linux/generic/hack-4.9/204-module_strip.patch
+++ b/
target/linux/generic/hack-4.9/204-module_strip.patch
@@
-114,7
+114,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
config MODULES_TREE_LOOKUP
--- a/kernel/module.c
+++ b/kernel/module.c
config MODULES_TREE_LOOKUP
--- a/kernel/module.c
+++ b/kernel/module.c
-@@ -29
68,9 +2968
,11 @@ static struct module *setup_load_info(st
+@@ -29
70,9 +2970
,11 @@ static struct module *setup_load_info(st
static int check_modinfo(struct module *mod, struct load_info *info, int flags)
{
static int check_modinfo(struct module *mod, struct load_info *info, int flags)
{
@@
-127,7
+127,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
if (flags & MODULE_INIT_IGNORE_VERMAGIC)
modmagic = NULL;
if (flags & MODULE_INIT_IGNORE_VERMAGIC)
modmagic = NULL;
-@@ -299
1,6 +2993
,7 @@ static int check_modinfo(struct module *
+@@ -299
3,6 +2995
,7 @@ static int check_modinfo(struct module *
mod->name);
add_taint_module(mod, TAINT_OOT_MODULE, LOCKDEP_STILL_OK);
}
mod->name);
add_taint_module(mod, TAINT_OOT_MODULE, LOCKDEP_STILL_OK);
}
@@
-137,7
+137,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
-@@ -19
67,7 +1967
,9 @@ static void read_symbols(char *modname)
+@@ -19
79,7 +1979
,9 @@ static void read_symbols(char *modname)
symname = remove_dot(info.strtab + sym->st_name);
handle_modversions(mod, &info, sym, symname);
symname = remove_dot(info.strtab + sym->st_name);
handle_modversions(mod, &info, sym, symname);
@@
-147,7
+147,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
if (!is_vmlinux(modname) ||
(is_vmlinux(modname) && vmlinux_section_warnings))
}
if (!is_vmlinux(modname) ||
(is_vmlinux(modname) && vmlinux_section_warnings))
-@@ -21
11,7 +2113
,9 @@ static void add_header(struct buffer *b,
+@@ -21
23,7 +2125
,9 @@ static void add_header(struct buffer *b,
buf_printf(b, "#include <linux/vermagic.h>\n");
buf_printf(b, "#include <linux/compiler.h>\n");
buf_printf(b, "\n");
buf_printf(b, "#include <linux/vermagic.h>\n");
buf_printf(b, "#include <linux/compiler.h>\n");
buf_printf(b, "\n");
@@
-157,7
+157,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
buf_printf(b, "\n");
buf_printf(b, "__visible struct module __this_module\n");
buf_printf(b, "__attribute__((section(\".gnu.linkonce.this_module\"))) = {\n");
buf_printf(b, "\n");
buf_printf(b, "__visible struct module __this_module\n");
buf_printf(b, "__attribute__((section(\".gnu.linkonce.this_module\"))) = {\n");
-@@ -21
28,24 +2132
,30 @@ static void add_header(struct buffer *b,
+@@ -21
40,24 +2144
,30 @@ static void add_header(struct buffer *b,
static void add_intree_flag(struct buffer *b, int is_intree)
{
static void add_intree_flag(struct buffer *b, int is_intree)
{
@@
-188,7
+188,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
/* In kernel, this size is defined in linux/module.h;
}
/* In kernel, this size is defined in linux/module.h;
-@@ -22
49,11 +2259
,13 @@ static void add_depends(struct buffer *b
+@@ -22
61,11 +2271
,13 @@ static void add_depends(struct buffer *b
static void add_srcversion(struct buffer *b, struct module *mod)
{
static void add_srcversion(struct buffer *b, struct module *mod)
{
@@
-202,7
+202,7
@@
Signed-off-by: Felix Fietkau <nbd@nbd.name>
}
static void write_if_changed(struct buffer *b, const char *fname)
}
static void write_if_changed(struct buffer *b, const char *fname)
-@@ -2
488,7 +2500
,9 @@ int main(int argc, char **argv)
+@@ -2
500,7 +2512
,9 @@ int main(int argc, char **argv)
add_staging_flag(&buf, mod->name);
err |= add_versions(&buf, mod);
add_depends(&buf, mod, modules);
add_staging_flag(&buf, mod->name);
err |= add_versions(&buf, mod);
add_depends(&buf, mod, modules);