Re: [PATCH] kernel/bpf/core.c - fix bitrotted kerneldoc.

From: Song Liu
Date: Tue Jan 29 2019 - 17:12:56 EST


On Mon, Jan 28, 2019 at 8:06 PM <valdis.kletnieks@xxxxxx> wrote:
>
> Over the years, the function signature has changed, the kerneldoc block hasn't.
>
> Signed-off-by: Valdis Kletnieks <valdis.kletnieks@xxxxxx>
Acked-by: Song Liu <songliubraving@xxxxxx>

>
> diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c
> index 2a81b8af3748..2728b6247091 100644
> --- a/kernel/bpf/core.c
> +++ b/kernel/bpf/core.c
> @@ -1216,8 +1216,9 @@ bool bpf_opcode_in_insntable(u8 code)
> #ifndef CONFIG_BPF_JIT_ALWAYS_ON
> /**
> * __bpf_prog_run - run eBPF program on a given context
> - * @ctx: is the data we are operating on
> + * @regs: is the array of MAX_BPF_EXT_REG eBPF pseudo-registers
> * @insn: is the array of eBPF instructions
> + * @stack: is the eBPF storage stack
> *
> * Decode and execute eBPF instructions.
> */
>