From: "tip-bot2 for Manuel Ebner" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
"Borislav Petkov (AMD)" <bp@alien8.de>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: x86/cleanups] x86/mtrr: Fix kernel-doc notation of amd_set_mtrr()
Date: Wed, 16 Sep 2026 04:27:50 -0000 [thread overview]
Message-ID: <178953287008.1720534.10988452891957515375.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20260915103136.171924-3-manuelebnerli@mailbox.org>
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: c8beda268a6b21910d1325584ce1d45bce4f22f0
Gitweb: https://git.kernel.org/tip/c8beda268a6b21910d1325584ce1d45bce4f22f0
Author: Manuel Ebner <manuelebnerli@mailbox.org>
AuthorDate: Tue, 15 Sep 2026 12:31:37 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Tue, 15 Sep 2026 21:22:03 -07:00
x86/mtrr: Fix kernel-doc notation of amd_set_mtrr()
Add ':' to arguments in kernel-doc comment to fix:
$ ./scripts/kernel-doc -none arch/x86/kernel/cpu/mtrr/amd.c
Warning: arch/x86/kernel/cpu/mtrr/amd.c:63 function parameter 'reg' not described in 'amd_set_mtrr'
Warning: arch/x86/kernel/cpu/mtrr/amd.c:63 function parameter 'base' not described in 'amd_set_mtrr'
Warning: arch/x86/kernel/cpu/mtrr/amd.c:63 function parameter 'size' not described in 'amd_set_mtrr'
Warning: arch/x86/kernel/cpu/mtrr/amd.c:63 function parameter 'type' not described in 'amd_set_mtrr'
[ bp: Massage commit message. ]
Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260915103136.171924-3-manuelebnerli@mailbox.org
---
arch/x86/kernel/cpu/mtrr/amd.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/arch/x86/kernel/cpu/mtrr/amd.c b/arch/x86/kernel/cpu/mtrr/amd.c
index a73715d..9e440e3 100644
--- a/arch/x86/kernel/cpu/mtrr/amd.c
+++ b/arch/x86/kernel/cpu/mtrr/amd.c
@@ -51,11 +51,10 @@ amd_get_mtrr(unsigned int reg, unsigned long *base,
/**
* amd_set_mtrr - Set variable MTRR register on the local CPU.
- *
- * @reg The register to set.
- * @base The base address of the region.
- * @size The size of the region. If this is 0 the region is disabled.
- * @type The type of the region.
+ * @reg: The register to set.
+ * @base: The base address of the region.
+ * @size: The size of the region. If this is 0 the region is disabled.
+ * @type: The type of the region.
*
* Returns nothing.
*/
prev parent reply other threads:[~2026-09-16 4:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 10:31 [PATCH] x86/mtrr: Fix kernel-doc Manuel Ebner
2026-09-16 4:27 ` tip-bot2 for Manuel Ebner [this message]
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=178953287008.1720534.10988452891957515375.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=manuelebnerli@mailbox.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®