diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2022-11-02 09:49:13 +0100 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-11-13 03:47:35 +0100 |
commit | fcdf7197cf23ef452c30f376d31d73bdf7946de8 (patch) | |
tree | f7c0f18dec698ebd76f845c7a11dba6b91466f43 /scripts/kallsyms.c | |
parent | module: Fix NULL vs IS_ERR checking for module_get_next_page (diff) | |
download | linux-fcdf7197cf23ef452c30f376d31d73bdf7946de8.tar.xz linux-fcdf7197cf23ef452c30f376d31d73bdf7946de8.zip |
scripts/kallsyms: rename build_initial_tok_table()
Except for the function build_initial_tok_table(), no token abbreviation
is used elsewhere.
$ cat scripts/kallsyms.c | grep tok | wc -l
33
$ cat scripts/kallsyms.c | grep token | wc -l
31
Here, it would be clearer to use the full name.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'scripts/kallsyms.c')
-rw-r--r-- | scripts/kallsyms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 03fa07ad45d9..ab105bdde4ef 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -573,7 +573,7 @@ static void forget_symbol(const unsigned char *symbol, int len) } /* do the initial token count */ -static void build_initial_tok_table(void) +static void build_initial_token_table(void) { unsigned int i; @@ -698,7 +698,7 @@ static void insert_real_symbols_in_table(void) static void optimize_token_table(void) { - build_initial_tok_table(); + build_initial_token_table(); insert_real_symbols_in_table(); |