x86/entry: Fix kernel-doc warning
authorDaniel Sneddon <daniel.sneddon@linux.intel.com>
Thu, 19 Dec 2024 15:52:27 +0000 (08:52 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Feb 2025 22:12:58 +0000 (23:12 +0100)
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.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20241219155227.685692-1-daniel.sneddon@linux.intel.com
Closes: https://lore.kernel.org/oe-kbuild-all/202412131236.a5HhOqXo-lkp@intel.com/

arch/x86/entry/common.c

index 94941c5a10ac107f48871c6728921c4a08c1a81f..14db5b85114c1c1c6c46ef0d69864b5cb50395f6 100644 (file)
@@ -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