From: Arnd Bergmann Date: Mon, 6 Mar 2023 10:14:50 +0000 (+0100) Subject: kallsyms: add kallsyms_seqs_of_names to list of special symbols X-Git-Tag: v6.6.7~3266^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ced0f245ed951e2b8bd68f79c15238d7dd253662;p=platform%2Fkernel%2Flinux-starfive.git kallsyms: add kallsyms_seqs_of_names to list of special symbols 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 Reviewed-by: Zhen Lei Signed-off-by: Masahiro Yamada --- diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 8a68179..a239a87 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -119,6 +119,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 */