Skip to contentSkip to conversation

x86/entry: Fix kernel-doc warning

PATCH Applied Daniel Sneddon 2 participants 2 messages Dec 19, 2024 – Feb 25, 2025

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

PATCH 1/1 x86/entry: Fix kernel-doc warning

The function do_int80_emulation() is missing a kernel-doc formatted description of its argument. This is causing a warning when building with W=1. Add a brief description of the argument to satisfy kernel-doc.

---
 arch/x86/entry/common.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/entry/common.c +1 -0
index 94941c5a10ac..913d1944a748 100644
@@ -190,6 +190,7 @@ static __always_inline bool int80_is_external(void)
 
 /**
  * do_int80_emulation - 32-bit legacy syscall C entry from asm
+ * @regs: syscall arguments in pt_args struct on the stack.
  *
  * This entry point can be used by 32-bit and 64-bit programs to perform
  * 32-bit system calls.  Instances of INT $0x80 can be found inline in
Signature · 1 line
2.25.1
merge bot Applied
#1 lore raw
The following commit has been merged into the x86/urgent branch of tip:

The following commit has been merged into the x86/urgent branch of tip:

Commit-ID:     0f6750b15ffdf274668b12824b09bd49ea854e18
Gitweb:        https://git.kernel.org/tip/0f6750b15ffdf274668b12824b09bd49ea854e18
Author:        Daniel Sneddon <[email protected]>
AuthorDate:    Thu, 19 Dec 2024 08:52:27 -07:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Tue, 25 Feb 2025 23:12:58 +01:00

x86/entry: Fix kernel-doc warning

The do_int80_emulation() function is missing a kernel-doc formatted description of its argument. This is causing a warning when building with W=1. Add a brief description of the argument to satisfy kernel-doc.

---
 arch/x86/entry/common.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/entry/common.c +1 -0
index 94941c5..14db5b8 100644
@@ -190,6 +190,7 @@ static __always_inline bool int80_is_external(void)
 
 /**
  * do_int80_emulation - 32-bit legacy syscall C entry from asm
+ * @regs: syscall arguments in struct pt_args on the stack.
  *
  * This entry point can be used by 32-bit and 64-bit programs to perform
  * 32-bit system calls.  Instances of INT $0x80 can be found inline in