diff options
author | 2021-08-30 14:56:06 +0200 | |
---|---|---|
committer | 2021-08-30 14:56:06 +0200 | |
commit | 71af75b6929458d85f63c0649dc26d6f4c19729e (patch) | |
tree | c05c57903424d8270f6b6f3ec3493791fdba4e5c /scripts/mod | |
parent | lib/test_scanf: Handle n_bits == 0 in random tests (diff) | |
parent | printk/index: Fix -Wunused-function warning (diff) | |
download | wireguard-linux-71af75b6929458d85f63c0649dc26d6f4c19729e.tar.xz wireguard-linux-71af75b6929458d85f63c0649dc26d6f4c19729e.zip |
Merge branch 'for-5.15-printk-index' into for-linus
Diffstat (limited to 'scripts/mod')
-rw-r--r-- | scripts/mod/modpost.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 3e623ccc020b..270a7df898e2 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -660,8 +660,11 @@ static void handle_modversion(const struct module *mod, unsigned int crc; if (sym->st_shndx == SHN_UNDEF) { - warn("EXPORT symbol \"%s\" [%s%s] version generation failed, symbol will not be versioned.\n", - symname, mod->name, mod->is_vmlinux ? "" : ".ko"); + warn("EXPORT symbol \"%s\" [%s%s] version ...\n" + "Is \"%s\" prototyped in <asm/asm-prototypes.h>?\n", + symname, mod->name, mod->is_vmlinux ? "" : ".ko", + symname); + return; } |