Skip to content

Commit bf5c0c2

Browse files
committed
modpost: restore the warning message for missing symbol versions
This log message was accidentally chopped off. I was wondering why this happened, but checking the ML log, Mark precisely followed my suggestion [1]. I just used "..." because I was too lazy to type the sentence fully. Sorry for the confusion. [1]: https://lore.kernel.org/all/CAK7LNAR6bXXk9-ZzZYpTqzFqdYbQsZHmiWspu27rtsFxvfRuVA@mail.gmail.com/ Fixes: 4a67959 ("kbuild: modpost: Explicitly warn about unprototyped symbols") Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Mark Brown <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
1 parent 1e39036 commit bf5c0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mod/modpost.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ static void handle_modversion(const struct module *mod,
674674
unsigned int crc;
675675

676676
if (sym->st_shndx == SHN_UNDEF) {
677-
warn("EXPORT symbol \"%s\" [%s%s] version ...\n"
677+
warn("EXPORT symbol \"%s\" [%s%s] version generation failed, symbol will not be versioned.\n"
678678
"Is \"%s\" prototyped in <asm/asm-prototypes.h>?\n",
679679
symname, mod->name, mod->is_vmlinux ? "" : ".ko",
680680
symname);

0 commit comments

Comments
 (0)