Skip to contentSkip to conversation

kernel/bpf/core.c - fix bitrotted kerneldoc.

PATCH In review [email protected] 2 participants 2 messages Jan 29, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/bpf/core.c - fix bitrotted kerneldoc.

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

kernel/bpf/core.c +2 -1
index 2a81b8af3748..2728b6247091 100644
@@ -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.
  */
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · On Mon, Jan 28, 2019 at 8:06 PM <[email protected]> wrote:

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

Quoted 17 lines
kernel/bpf/core.c +2 -1
index 2a81b8af3748..2728b6247091 100644
@@ -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.
  */