mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hanyu001@208suo.com
To: richard.henderson@linaro.org, ink@jurassic.park.msu.ru,
	mattst88@gmail.com
Cc: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] alpha: asm:  add require space after that ',' and around ':'
Date: Wed, 19 Jul 2023 17:25:34 +0800	[thread overview]
Message-ID: <875e01e4fae77a5ba0d8f733c9479466@208suo.com> (raw)
In-Reply-To: <tencent_592244D6B47BB549E7840283D55D95B5E308@qq.com>

Fix below checkpatch errors:

./arch/alpha/include/asm/smp.h:19: ERROR: spaces required around that 
':' (ctx:ExV)
./arch/alpha/include/asm/smp.h:54: ERROR: space required after that ',' 
(ctx:VxV)
./arch/alpha/include/asm/smp.h:54: ERROR: space required after that ',' 
(ctx:VxV)
./arch/alpha/include/asm/smp.h:54: ERROR: space required after that ',' 
(ctx:VxV)

Signed-off-by: Yu Han <hanyu001@208suo.com>
---
  arch/alpha/include/asm/smp.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/alpha/include/asm/smp.h b/arch/alpha/include/asm/smp.h
index 2264ae72673b..c034bd8d9b16 100644
--- a/arch/alpha/include/asm/smp.h
+++ b/arch/alpha/include/asm/smp.h
@@ -16,7 +16,7 @@ __hard_smp_processor_id(void)
      __asm__ __volatile__(
          "call_pal %1 #whami"
          : "=r"(__r0)
-        :"i" (PAL_whami)
+        : "i" (PAL_whami)
          : "$1", "$22", "$23", "$24", "$25");
      return __r0;
  }
@@ -51,7 +51,7 @@ extern void arch_send_call_function_ipi_mask(const 
struct cpumask *mask);
  #else /* CONFIG_SMP */

  #define hard_smp_processor_id()        0
-#define smp_call_function_on_cpu(func,info,wait,cpu)    ({ 0; })
+#define smp_call_function_on_cpu(func, info, wait, cpu)    ({ 0; })

  #endif /* CONFIG_SMP */

           reply	other threads:[~2023-07-19  9:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_592244D6B47BB549E7840283D55D95B5E308@qq.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=875e01e4fae77a5ba0d8f733c9479466@208suo.com \
    --to=hanyu001@208suo.com \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mattst88@gmail.com \
    --cc=richard.henderson@linaro.org \
    /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®