Commit 2558c138 authored by Masahiro Yamada's avatar Masahiro Yamada

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent aa915245
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment