diff options
author | Arnd Bergmann | 2023-03-06 11:14:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-07-27 08:50:50 +0200 |
commit | 320f980bc0bb77b7af82bdde4e6f892dd60d94ed (patch) | |
tree | 5d7293362d6cc76580e247f101928be9a08f78db | |
parent | 7531eb07b254078a79116f470c345bc487e0219d (diff) |
kallsyms: add kallsyms_seqs_of_names to list of special symbols
commit ced0f245ed951e2b8bd68f79c15238d7dd253662 upstream.
My randconfig build setup ran into another kallsyms warning:
Inconsistent kallsyms data
Try make KALLSYMS_EXTRA_PASS=1 as a workaround
After adding some debugging code to kallsyms.c, I saw that the recently
added kallsyms_seqs_of_names symbol can sometimes cause the second stage
table to be slightly longer than the first stage, which makes the
build inconsistent.
Add it to the exception table that contains all other kallsyms-generated
symbols.
Fixes: 60443c88f3a8 ("kallsyms: Improve the performance of kallsyms_lookup_name()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | scripts/kallsyms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 51edc73e2ebf..6cd24ed4296d 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -118,6 +118,7 @@ static bool is_ignored_symbol(const char *name, char type) "kallsyms_markers", "kallsyms_token_table", "kallsyms_token_index", + "kallsyms_seqs_of_names", /* Exclude linker generated symbols which vary between passes */ "_SDA_BASE_", /* ppc */ "_SDA2_BASE_", /* ppc */ |