public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/entry: Fix kernel-doc warning
@ 2024-12-19 15:52 Daniel Sneddon
  2025-02-25 22:21 ` [tip: x86/urgent] " tip-bot2 for Daniel Sneddon
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Sneddon @ 2024-12-19 15:52 UTC (permalink / raw)
  To: Andy Lutomirski, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)
  Cc: Daniel Sneddon, kernel test robot, H. Peter Anvin,
	open list:X86 ENTRY CODE

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.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412131236.a5HhOqXo-lkp@intel.com/
Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
---
 arch/x86/entry/common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index 94941c5a10ac..913d1944a748 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip: x86/urgent] x86/entry: Fix kernel-doc warning
  2024-12-19 15:52 [PATCH] x86/entry: Fix kernel-doc warning Daniel Sneddon
@ 2025-02-25 22:21 ` tip-bot2 for Daniel Sneddon
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Daniel Sneddon @ 2025-02-25 22:21 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: kernel test robot, Daniel Sneddon, Ingo Molnar, x86, linux-kernel

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 <daniel.sneddon@linux.intel.com>
AuthorDate:    Thu, 19 Dec 2024 08:52:27 -07:00
Committer:     Ingo Molnar <mingo@kernel.org>
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.

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index 94941c5..14db5b8 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-25 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-19 15:52 [PATCH] x86/entry: Fix kernel-doc warning Daniel Sneddon
2025-02-25 22:21 ` [tip: x86/urgent] " tip-bot2 for Daniel Sneddon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox