mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pengfei Xu <pengfei.xu@intel.com>
To: linux-kernel@vger.kernel.org
Cc: Pengfei Xu <pengfei.xu@intel.com>,
	Mehta Sohil <sohil.mehta@intel.com>,
	kevin.tian@intel.com, seanjc@google.com
Subject: [PATCH v1 1/1] x86/fpu: Fix the "Block comments should align the * on each line" WARNING from checkpatch
Date: Wed, 21 Dec 2022 09:37:47 +0800	[thread overview]
Message-ID: <013d5cc84ac559d2a70b79e29b4e124365e50e77.1671586299.git.pengfei.xu@intel.com> (raw)
In-Reply-To: <cover.1671586299.git.pengfei.xu@intel.com>

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


           reply	other threads:[~2022-12-21  1:37 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <cover.1671586299.git.pengfei.xu@intel.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=013d5cc84ac559d2a70b79e29b4e124365e50e77.1671586299.git.pengfei.xu@intel.com \
    --to=pengfei.xu@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seanjc@google.com \
    --cc=sohil.mehta@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®