History

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.

Zhen Lei committed 4 years ago

Commit fcdf7191 parent 45af1d71 file · +2 −2Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kallsyms.c+2−2
@@ -573,7 +573,7 @@ static void forget_symbol(const unsigned char *symbol, int len) · 572 unmodified lines
573}573}
574 574
575/* do the initial token count */575/* do the initial token count */
576static void build_initial_tok_table(void)576static void build_initial_token_table(void)
577{577{
578 unsigned int i;578 unsigned int i;
579 579
@@ -698,7 +698,7 @@ static void insert_real_symbols_in_table(void) · 118 unmodified lines
698 698
699static void optimize_token_table(void)699static void optimize_token_table(void)
700{700{
701 build_initial_tok_table();701 build_initial_token_table();
702 702
703 insert_real_symbols_in_table();703 insert_real_symbols_in_table();
704 704

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t