Re: [PATCH] kallsyms: Delete an unused parameter related to {module_}kallsyms_on_each_symbol()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Mar 2023 15:38:46 +0800
Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote:

> diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
> index 29baa97d0d53428..76caca8f496aaed 100644
> --- a/kernel/trace/ftrace.c
> +++ b/kernel/trace/ftrace.c
> @@ -8391,8 +8391,7 @@ struct kallsyms_data {
>   * and returns 1 in case we resolved all the requested symbols,
>   * 0 otherwise.
>   */
> -static int kallsyms_callback(void *data, const char *name,
> -			     struct module *mod, unsigned long addr)
> +static int kallsyms_callback(void *data, const char *name, unsigned long addr)
>  {
>  	struct kallsyms_data *args = data;
>  	const char **sym;
> -- 

Acked-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

-- Steve



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux