summaryrefslogtreecommitdiff
path: root/kernel/bpf
diff options
context:
space:
mode:
authorValdis Kletnieks <valdis.kletnieks@vt.edu>2019-01-29 07:04:46 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2019-01-31 12:31:44 +0300
commitde1da68d9c9d230e448b9fa0abff139a0468fb96 (patch)
tree1783cd8d371d953beeda068f0abe1a7533e791a4 /kernel/bpf
parent9f239f68f2c533f6c91502fe9b98b29a0b725083 (diff)
downloadlinux-de1da68d9c9d230e448b9fa0abff139a0468fb96.tar.xz
bpf: fix bitrotted kerneldoc
Over the years, the function signature has changed, but the kerneldoc block hasn't. Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf')
-rw-r--r--kernel/bpf/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c
index a7bcb23bee84..f13c543b7b36 100644
--- a/kernel/bpf/core.c
+++ b/kernel/bpf/core.c
@@ -1263,8 +1263,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.
*/