mirror of
https://github.com/torvalds/linux
synced 2024-09-06 09:51:23 +00: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 a new issue