mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user