Fix:
builtin-kmem.c: In function 'parse_caller_opt':
builtin-kmem.c:690: error: unused parameter 'arg'
builtin-kmem.c: In function 'parse_alloc_opt':
builtin-kmem.c:697: error: unused parameter 'arg'
Cc: Li Zefan <[email protected]>
Cc: Pekka Enberg <[email protected]>
LKML-Reference: <
4B20A195.
8030106@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <[email protected]>
}
static int parse_caller_opt(const struct option *opt __used,
- const char *arg, int unset __used)
+ const char *arg __used, int unset __used)
{
caller_flag = (alloc_flag + 1);
return 0;
}
static int parse_alloc_opt(const struct option *opt __used,
- const char *arg, int unset __used)
+ const char *arg __used, int unset __used)
{
alloc_flag = (caller_flag + 1);
return 0;