diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mod/modpost.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 404ee0d0aac6..4d1c59063b27 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -1656,7 +1656,6 @@ int main(int argc, char **argv) | |||
1656 | { | 1656 | { |
1657 | struct module *mod; | 1657 | struct module *mod; |
1658 | struct buffer buf = { }; | 1658 | struct buffer buf = { }; |
1659 | char fname[SZ]; | ||
1660 | char *kernel_read = NULL, *module_read = NULL; | 1659 | char *kernel_read = NULL, *module_read = NULL; |
1661 | char *dump_write = NULL; | 1660 | char *dump_write = NULL; |
1662 | int opt; | 1661 | int opt; |
@@ -1709,6 +1708,8 @@ int main(int argc, char **argv) | |||
1709 | err = 0; | 1708 | err = 0; |
1710 | 1709 | ||
1711 | for (mod = modules; mod; mod = mod->next) { | 1710 | for (mod = modules; mod; mod = mod->next) { |
1711 | char fname[strlen(mod->name) + 10]; | ||
1712 | |||
1712 | if (mod->skip) | 1713 | if (mod->skip) |
1713 | continue; | 1714 | continue; |
1714 | 1715 | ||