* [PATCH] x86/fpu: Fix kdoc of fpu_enable_guest_xfd_features()
@ 2025-06-20 5:21 Chao Gao
2026-07-01 0:20 ` [tip: x86/cleanups] x86/fpu: Fix kernel-doc formatting above fpu_enable_guest_xfd_features() tip-bot2 for Chao Gao
0 siblings, 1 reply; 2+ messages in thread
From: Chao Gao @ 2025-06-20 5:21 UTC (permalink / raw)
To: linux-kernel
Cc: Chao Gao, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
Dave Hansen, x86, H. Peter Anvin, Chang S. Bae, Eric Biggers,
Peter Zijlstra (Intel), Xin Li (Intel),
Stanislav Spassov, Kees Cook
Adjust the indentation and use tabs between function parameters and their
descriptions to align with the convention used in FPU code.
Signed-off-by: Chao Gao <chao.gao@intel.com>
---
arch/x86/kernel/fpu/core.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c
index ea138583dd92..26ddfb5079a6 100644
--- a/arch/x86/kernel/fpu/core.c
+++ b/arch/x86/kernel/fpu/core.c
@@ -290,15 +290,15 @@ void fpu_free_guest_fpstate(struct fpu_guest *gfpu)
}
EXPORT_SYMBOL_GPL(fpu_free_guest_fpstate);
-/*
- * fpu_enable_guest_xfd_features - Check xfeatures against guest perm and enable
- * @guest_fpu: Pointer to the guest FPU container
- * @xfeatures: Features requested by guest CPUID
- *
- * Enable all dynamic xfeatures according to guest perm and requested CPUID.
- *
- * Return: 0 on success, error code otherwise
- */
+/**
+ * fpu_enable_guest_xfd_features - Check xfeatures against guest perm and enable
+ * @guest_fpu: Pointer to the guest FPU container
+ * @xfeatures: Features requested by guest CPUID
+ *
+ * Enable all dynamic xfeatures according to guest perm and requested CPUID.
+ *
+ * Return: 0 on success, error code otherwise
+ */
int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures)
{
lockdep_assert_preemption_enabled();
base-commit: 74f86163845cfeb1b4b0173eaa1ee05e2e8ca4fd
--
2.47.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: x86/cleanups] x86/fpu: Fix kernel-doc formatting above fpu_enable_guest_xfd_features()
2025-06-20 5:21 [PATCH] x86/fpu: Fix kdoc of fpu_enable_guest_xfd_features() Chao Gao
@ 2026-07-01 0:20 ` tip-bot2 for Chao Gao
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Chao Gao @ 2026-07-01 0:20 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Chao Gao, Borislav Petkov (AMD), x86, linux-kernel
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: b47748678c6cd831aba376f6b2d90b7718c7c661
Gitweb: https://git.kernel.org/tip/b47748678c6cd831aba376f6b2d90b7718c7c661
Author: Chao Gao <chao.gao@intel.com>
AuthorDate: Thu, 19 Jun 2025 22:21:50 -07:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Tue, 30 Jun 2026 17:17:45 -07:00
x86/fpu: Fix kernel-doc formatting above fpu_enable_guest_xfd_features()
Adjust the indentation and use tabs between function parameters and
their descriptions to align with the convention used in FPU code.
Signed-off-by: Chao Gao <chao.gao@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20250620052152.490414-1-chao.gao@intel.com
---
arch/x86/kernel/fpu/core.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c
index 584fb99..2ed2613 100644
--- a/arch/x86/kernel/fpu/core.c
+++ b/arch/x86/kernel/fpu/core.c
@@ -294,15 +294,15 @@ void fpu_free_guest_fpstate(struct fpu_guest *gfpu)
}
EXPORT_SYMBOL_FOR_KVM(fpu_free_guest_fpstate);
-/*
- * fpu_enable_guest_xfd_features - Check xfeatures against guest perm and enable
- * @guest_fpu: Pointer to the guest FPU container
- * @xfeatures: Features requested by guest CPUID
- *
- * Enable all dynamic xfeatures according to guest perm and requested CPUID.
- *
- * Return: 0 on success, error code otherwise
- */
+/**
+ * fpu_enable_guest_xfd_features - Check xfeatures against guest perm and enable
+ * @guest_fpu: Pointer to the guest FPU container
+ * @xfeatures: Features requested by guest CPUID
+ *
+ * Enable all dynamic xfeatures according to guest perm and requested CPUID.
+ *
+ * Return: 0 on success, error code otherwise
+ */
int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures)
{
lockdep_assert_preemption_enabled();
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-01 0:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-20 5:21 [PATCH] x86/fpu: Fix kdoc of fpu_enable_guest_xfd_features() Chao Gao
2026-07-01 0:20 ` [tip: x86/cleanups] x86/fpu: Fix kernel-doc formatting above fpu_enable_guest_xfd_features() tip-bot2 for Chao Gao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox