提交 7b75b13c 编写于 作者: S Sam Ravnborg

kbuild: when warning symbols exported twice now tell user this is the problem

Warning now looks like this:
WARNING: vmlinux: 'strcpy' exported twice. Previous export was in vmlinux

Which gives much better hint how to fix it.
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 f6ecebd6
......@@ -191,7 +191,7 @@ static struct symbol *sym_add_exported(const char *name, struct module *mod)
s = new_symbol(name, mod);
} else {
if (!s->preloaded) {
warn("%s: duplicate symbol '%s' previous definition "
warn("%s: '%s' exported twice. Previous export "
"was in %s%s\n", mod->name, name,
s->module->name,
is_vmlinux(s->module->name) ?"":".ko");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册