diff --git a/[refs] b/[refs] index f4bc9c931b0b..8147b329cd40 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 58b7a68de37face98afe7c705391145795a982b5 +refs/heads/master: 666ab414fe14e8bbbe86a110437346128e1ec869 diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 404ee0d0aac6..4d1c59063b27 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -1656,7 +1656,6 @@ int main(int argc, char **argv) { struct module *mod; struct buffer buf = { }; - char fname[SZ]; char *kernel_read = NULL, *module_read = NULL; char *dump_write = NULL; int opt; @@ -1709,6 +1708,8 @@ int main(int argc, char **argv) err = 0; for (mod = modules; mod; mod = mod->next) { + char fname[strlen(mod->name) + 10]; + if (mod->skip) continue;