* [PATCH] x86/mtrr: Fix kernel-doc for 'centaur_get_free_region'
@ 2026-11-30 10:14 Manuel Ebner
0 siblings, 0 replies; only message in thread
From: Manuel Ebner @ 2026-11-30 10:14 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
H. Peter Anvin
Cc: Manuel Ebner, Kael D'Alcamo, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 10:14 [PATCH] x86/mtrr: Fix kernel-doc for 'centaur_get_free_region' Manuel Ebner
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®