[<prev] [next>] [day] [month] [year] [list]
Message-Id: <013d5cc84ac559d2a70b79e29b4e124365e50e77.1671586299.git.pengfei.xu@intel.com>
Date: Wed, 21 Dec 2022 09:37:47 +0800
From: Pengfei Xu <pengfei.xu@...el.com>
To: linux-kernel@...r.kernel.org
Cc: Pengfei Xu <pengfei.xu@...el.com>,
Mehta Sohil <sohil.mehta@...el.com>, kevin.tian@...el.com,
seanjc@...gle.com
Subject: [PATCH v1 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
"
Signed-off-by: Pengfei Xu <pengfei.xu@...el.com>
---
arch/x86/kernel/fpu/core.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c
index d00db56a8868..cc7bab92c4c1 100644
--- a/arch/x86/kernel/fpu/core.c
+++ b/arch/x86/kernel/fpu/core.c
@@ -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();
--
2.31.1
Powered by blists - more mailing lists