[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240104013251.14440-1-rdunlap@infradead.org>
Date: Wed, 3 Jan 2024 17:32:51 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
x86@...nel.org,
Jonathan Corbet <corbet@....net>
Subject: [PATCH] x86/entry: don't use kernel-doc for IDTENTRY functions
scripts/kernel-doc doesn't handle DEFINE_IDTENTRY*() variants
so it prints a warning when processing them.
In order to reduce/remove kernel-doc warnings from the kernel, don't
use kernel-doc notation for DEFINE_IDTENTRY*() function comments.
This brings the common.c usage in line with the more than 50 other
uses of DEFINE_IDTENTRY*() in the kernel.
This prevents one warning:
arch/x86/entry/common.c:211: warning: expecting prototype for int80_emulation(). Prototype was for DEFINE_IDTENTRY_RAW() instead
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>
Cc: x86@...nel.org
Cc: Jonathan Corbet <corbet@....net>
---
arch/x86/entry/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/arch/x86/entry/common.c b/arch/x86/entry/common.c
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -188,7 +188,7 @@ static __always_inline bool int80_is_ext
return apic_read(APIC_ISR + offs) & bit;
}
-/**
+/*
* int80_emulation - 32-bit legacy syscall entry
*
* This entry point can be used by 32-bit and 64-bit programs to perform
Powered by blists - more mailing lists