linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel/bpf/core.c - fix bitrotted kerneldoc.
@ 2019-01-29  4:04 valdis.kletnieks
  2019-01-29 22:12 ` Song Liu
  0 siblings, 1 reply; 2+ messages in thread
From: valdis.kletnieks @ 2019-01-29  4:04 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann; +Cc: netdev, linux-kernel

Over the years, the function signature has changed, the kerneldoc block hasn't.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>

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.
  */


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel/bpf/core.c - fix bitrotted kerneldoc.
  2019-01-29  4:04 [PATCH] kernel/bpf/core.c - fix bitrotted kerneldoc valdis.kletnieks
@ 2019-01-29 22:12 ` Song Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Song Liu @ 2019-01-29 22:12 UTC (permalink / raw)
  To: Valdis Kletnieks
  Cc: Alexei Starovoitov, Daniel Borkmann, Networking, open list

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

>
> 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.
>   */
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-29 22:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29  4:04 [PATCH] kernel/bpf/core.c - fix bitrotted kerneldoc valdis.kletnieks
2019-01-29 22:12 ` Song Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).