projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ecebd
)
kbuild: when warning symbols exported twice now tell user this is the problem
author
Sam Ravnborg
<sam@mars.ravnborg.org>
Sun, 5 Mar 2006 12:48:58 +0000
(13:48 +0100)
committer
Sam Ravnborg
<sam@mars.ravnborg.org>
Sun, 5 Mar 2006 12:48:58 +0000
(13:48 +0100)
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: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c
patch
|
blob
|
blame
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index 3648683a26c53031d11e9cdd46373b2b886c883e..e2bf4c927dd3cf1ff8d149e30ba27033b598c3e4 100644
(file)
--- a/
scripts/mod/modpost.c
+++ b/
scripts/mod/modpost.c
@@
-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");