summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChao Gao <chao.gao@intel.com>2025-06-19 22:21:50 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2026-06-30 17:17:45 -0700
commitb47748678c6cd831aba376f6b2d90b7718c7c661 (patch)
treef222a70b50c19adf8b980278c7ac8b3b106831d2 /arch
parent0cfdf974f133e0ff17ed80e7895adbe7889d9522 (diff)
downloadlinux-next-b47748678c6cd831aba376f6b2d90b7718c7c661.tar.gz
linux-next-b47748678c6cd831aba376f6b2d90b7718c7c661.zip
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
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/fpu/core.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c
index 584fb9913be4..2ed26134c0d1 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();