Skip to contentSkip to conversation

x86/fpu: Fix the "Block comments should align the * on each line" WARNING from checkpatch

PATCH New Pengfei Xu 1 participant 1 message Dec 21, 2022 1 message not in the archive x86

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Pengfei Xu

author
#1 lore raw

PATCH v2 1/1 x86/fpu: Fix the "Block comments should align the * on each line" WARNING from checkpatch

This commit fixes the following WARNING from checkpatch:
"
WARNING: Block comments should align the * on each line
Line 273: FILE: /home/code/lkml/arch/x86/kernel/fpu/core.c:273:
+/*
+ * fpu_enable_guest_xfd_features - Check xfeatures against guest perm and enable "

Fixes 0781d60f658e2 ("x86/fpu: Provide fpu_enable_guest_xfd_features() for KVM")
---
 arch/x86/kernel/fpu/core.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
arch/x86/kernel/fpu/core.c +8 -8
index d00db56a8868..cc7bab92c4c1 100644
@@ -270,14 +270,14 @@ 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();
Signature · 1 line
2.31.1