提交 2558c138 编写于 作者: M 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: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 aa915245
...@@ -503,7 +503,8 @@ static void build_initial_tok_table(void) ...@@ -503,7 +503,8 @@ static void build_initial_tok_table(void)
learn_symbol(table[i].sym, table[i].len); 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; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册