mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 03:30:52 +07:00
scripts/kallsyms: make find_token() return (unsigned char *)
The callers of this function expect (unsigned char *). I do not see a good reason to make this function return (void *). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
aa91524500
commit
2558c138ac
@ -503,7 +503,8 @@ static void build_initial_tok_table(void)
|
||||
learn_symbol(table[i].sym, table[i].len);
|
||||
}
|
||||
|
||||
static void *find_token(unsigned char *str, int len, unsigned char *token)
|
||||
static unsigned char *find_token(unsigned char *str, int len,
|
||||
unsigned char *token)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user