Skip to contentSkip to conversation

x86/fpu: Fix kdoc of fpu_enable_guest_xfd_features()

PATCH Applied Chao Gao 2 participants 2 messages Jun 20, 2025 – Jul 1 x86

lore
Share & tools
lore

Chao Gao

author
#0 lore raw

PATCH 1/1 x86/fpu: Fix kdoc of 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.

---
 arch/x86/kernel/fpu/core.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/x86/kernel/fpu/core.c +9 -9
index ea138583dd92..26ddfb5079a6 100644
@@ -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

Signature · 1 line
2.47.1
merge bot Applied
#1 lore raw

[tip: x86/cleanups] x86/fpu: Fix kernel-doc formatting above fpu_enable_guest_xfd_features()

The following commit has been merged into the x86/cleanups branch of tip:

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 <[email protected]>
AuthorDate:    Thu, 19 Jun 2025 22:21:50 -07:00
Committer:     Borislav Petkov (AMD) <[email protected]>
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.

---
 arch/x86/kernel/fpu/core.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/x86/kernel/fpu/core.c +9 -9
index 584fb99..2ed2613 100644
@@ -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();