Loading scripts/mod/modpost.c +3 −5 Original line number Diff line number Diff line Loading @@ -192,6 +192,9 @@ static struct module *new_module(const char *modname) mod->next = modules; modules = mod; if (mod->is_vmlinux) have_vmlinux = 1; return mod; } Loading Loading @@ -2012,9 +2015,6 @@ static void read_symbols(const char *modname) mod = new_module(modname); if (mod->is_vmlinux) have_vmlinux = 1; if (!mod->is_vmlinux) { license = get_modinfo(&info, "license"); if (!license) Loading Loading @@ -2470,8 +2470,6 @@ static void read_dump(const char *fname) mod = find_module(modname); if (!mod) { mod = new_module(modname); if (mod->is_vmlinux) have_vmlinux = 1; mod->from_dump = 1; } s = sym_add_exported(symname, mod, export_no(export)); Loading Loading
scripts/mod/modpost.c +3 −5 Original line number Diff line number Diff line Loading @@ -192,6 +192,9 @@ static struct module *new_module(const char *modname) mod->next = modules; modules = mod; if (mod->is_vmlinux) have_vmlinux = 1; return mod; } Loading Loading @@ -2012,9 +2015,6 @@ static void read_symbols(const char *modname) mod = new_module(modname); if (mod->is_vmlinux) have_vmlinux = 1; if (!mod->is_vmlinux) { license = get_modinfo(&info, "license"); if (!license) Loading Loading @@ -2470,8 +2470,6 @@ static void read_dump(const char *fname) mod = find_module(modname); if (!mod) { mod = new_module(modname); if (mod->is_vmlinux) have_vmlinux = 1; mod->from_dump = 1; } s = sym_add_exported(symname, mod, export_no(export)); Loading