mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 1/1] x86/fpu: Fix the "Block comments should align the * on each line" WARNING from checkpatch
       [not found] <cover.1671586299.git.pengfei.xu@intel.com>
@ 2022-12-21  1:37 ` Pengfei Xu
  0 siblings, 0 replies; only message in thread
From: Pengfei Xu @ 2022-12-21  1:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: Pengfei Xu, Mehta Sohil, kevin.tian, seanjc

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@intel.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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-21  1:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cover.1671586299.git.pengfei.xu@intel.com>
2022-12-21  1:37 ` [PATCH v1 1/1] x86/fpu: Fix the "Block comments should align the * on each line" WARNING from checkpatch Pengfei Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®