From: Manuel Ebner <manuelebnerli@mailbox.org>
To: Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
Kael D'Alcamo <dev@kael-k.io>,
linux-kernel@vger.kernel.org
Subject: [PATCH] x86/mtrr: Fix kernel-doc for 'centaur_get_free_region'
Date: Mon, 30 Nov 2026 11:14:16 +0100 [thread overview]
Message-ID: <20261130101417.1818013-1-manuelebnerli@mailbox.org> (raw)
Add parameter description, fixing:
$ ./scripts/kernel-doc --none arch/x86/kernel/cpu/mtrr/centaur.c
Warning: arch/x86/kernel/cpu/mtrr/centaur.c:27 function parameter 'replace_reg' not described in 'centaur_get_free_region'
Suggested-by: Kael D'Alcamo <dev@kael-k.io>
Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
@Kael if you mind this patch, I will drop it.
https://lore.kernel.org/all/20251005204200.191346-3-dev@kael-k.io/
---
arch/x86/kernel/cpu/mtrr/centaur.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/mtrr/centaur.c b/arch/x86/kernel/cpu/mtrr/centaur.c
index e32cca1caf..3f8698c4f4 100644
--- a/arch/x86/kernel/cpu/mtrr/centaur.c
+++ b/arch/x86/kernel/cpu/mtrr/centaur.c
@@ -20,6 +20,7 @@ static u8 centaur_mcr_type; /* 0 for winchip, 1 for winchip2 */
*
* @base: The starting (base) address of the region.
* @size: The size (in bytes) of the region.
+ * @replace_reg: mtrr index to be replaced; set to invalid value if none.
*
* Returns: the index of the region on success, else -1 on error.
*/
--
2.56.0
reply other threads:[~2026-11-30 10:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130101417.1818013-1-manuelebnerli@mailbox.org \
--to=manuelebnerli@mailbox.org \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=dev@kael-k.io \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®