diff options
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index cd766877871e..9d9c5b905b35 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -316,7 +316,7 @@ static struct symbol *sym_add_exported(const char *name, struct module *mod, | |||
316 | s->module->name, | 316 | s->module->name, |
317 | is_vmlinux(s->module->name) ?"":".ko"); | 317 | is_vmlinux(s->module->name) ?"":".ko"); |
318 | } else { | 318 | } else { |
319 | /* In case Modules.symvers was out of date */ | 319 | /* In case Module.symvers was out of date */ |
320 | s->module = mod; | 320 | s->module = mod; |
321 | } | 321 | } |
322 | } | 322 | } |
@@ -2113,8 +2113,10 @@ static void read_dump(const char *fname, unsigned int kernel) | |||
2113 | s->preloaded = 1; | 2113 | s->preloaded = 1; |
2114 | sym_update_crc(symname, mod, crc, export_no(export)); | 2114 | sym_update_crc(symname, mod, crc, export_no(export)); |
2115 | } | 2115 | } |
2116 | release_file(file, size); | ||
2116 | return; | 2117 | return; |
2117 | fail: | 2118 | fail: |
2119 | release_file(file, size); | ||
2118 | fatal("parse error in symbol dump file\n"); | 2120 | fatal("parse error in symbol dump file\n"); |
2119 | } | 2121 | } |
2120 | 2122 | ||