]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
entry: Add missing kernel-doc for arch_ptrace_report_syscall functions
authorKit Dallege <xaum.io@gmail.com>
Sun, 15 Mar 2026 17:09:41 +0000 (18:09 +0100)
committerThomas Gleixner <tglx@kernel.org>
Tue, 24 Mar 2026 22:06:33 +0000 (23:06 +0100)
Document @regs and @step parameters for arch_ptrace_report_syscall_entry()
and arch_ptrace_report_syscall_exit() that were missing from the kernel-doc
comments.

Signed-off-by: Kit Dallege <xaum.io@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Assisted-by: Claude:claude-opus-4-6
Link: https://patch.msgid.link/20260315170941.65913-1-xaum.io@gmail.com
include/linux/entry-common.h

index f83ca0abf2cdb2ebfedddeb244d0ed2dc3ce6fa6..d223246401bcdf140588bab65c8d79a44477d769 100644 (file)
@@ -48,6 +48,7 @@
 
 /**
  * arch_ptrace_report_syscall_entry - Architecture specific ptrace_report_syscall_entry() wrapper
+ * @regs: Pointer to the register state at syscall entry
  *
  * Invoked from syscall_trace_enter() to wrap ptrace_report_syscall_entry().
  *
@@ -205,6 +206,8 @@ static __always_inline bool report_single_step(unsigned long work)
 
 /**
  * arch_ptrace_report_syscall_exit - Architecture specific ptrace_report_syscall_exit()
+ * @regs: Pointer to the register state at syscall exit
+ * @step: Indicates a single-step exit rather than a normal syscall exit
  *
  * This allows architecture specific ptrace_report_syscall_exit()
  * implementations. If not defined by the architecture this falls back to