This is an automated email from the ASF dual-hosted git repository.

raiden00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 69100ef0e4 arch: Fix minor style issue
69100ef0e4 is described below

commit 69100ef0e493e296ad86d31a1defb1b8b6de9933
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Oct 28 01:16:40 2024 +0800

    arch: Fix minor style issue
    
    not real behaviour change
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 arch/arm/src/armv6-m/arm_sigdeliver.c    |  2 +-
 arch/arm/src/armv7-r/arm_sigdeliver.c    |  2 +-
 arch/arm/src/armv8-r/arm_sigdeliver.c    |  2 +-
 arch/arm64/src/common/arm64_sigdeliver.c |  2 +-
 arch/arm64/src/common/arm64_vectors.S    | 16 ++++++++--------
 arch/ceva/src/common/ceva_sigdeliver.c   |  2 +-
 arch/renesas/src/sh1/sh1_sigdeliver.c    |  2 +-
 arch/z80/src/z180/z180_sigdeliver.c      |  2 +-
 8 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/arch/arm/src/armv6-m/arm_sigdeliver.c 
b/arch/arm/src/armv6-m/arm_sigdeliver.c
index fb039d57d8..fa6797351d 100644
--- a/arch/arm/src/armv6-m/arm_sigdeliver.c
+++ b/arch/arm/src/armv6-m/arm_sigdeliver.c
@@ -53,7 +53,7 @@
 
 void arm_sigdeliver(void)
 {
-  struct tcb_s  *rtcb = this_task();
+  struct tcb_s *rtcb = this_task();
   uint32_t *regs = rtcb->xcp.saved_regs;
 
 #ifdef CONFIG_SMP
diff --git a/arch/arm/src/armv7-r/arm_sigdeliver.c 
b/arch/arm/src/armv7-r/arm_sigdeliver.c
index 2f72c1beee..706f6ad555 100644
--- a/arch/arm/src/armv7-r/arm_sigdeliver.c
+++ b/arch/arm/src/armv7-r/arm_sigdeliver.c
@@ -53,7 +53,7 @@
 
 void arm_sigdeliver(void)
 {
-  struct tcb_s  *rtcb = this_task();
+  struct tcb_s *rtcb = this_task();
   uint32_t *regs = rtcb->xcp.saved_regs;
 
 #ifdef CONFIG_SMP
diff --git a/arch/arm/src/armv8-r/arm_sigdeliver.c 
b/arch/arm/src/armv8-r/arm_sigdeliver.c
index 29a422040c..a6837079a3 100644
--- a/arch/arm/src/armv8-r/arm_sigdeliver.c
+++ b/arch/arm/src/armv8-r/arm_sigdeliver.c
@@ -53,7 +53,7 @@
 
 void arm_sigdeliver(void)
 {
-  struct tcb_s  *rtcb = this_task();
+  struct tcb_s *rtcb = this_task();
   uint32_t *regs = rtcb->xcp.saved_regs;
 
 #ifdef CONFIG_SMP
diff --git a/arch/arm64/src/common/arm64_sigdeliver.c 
b/arch/arm64/src/common/arm64_sigdeliver.c
index 2141425119..fff7e1ccee 100644
--- a/arch/arm64/src/common/arm64_sigdeliver.c
+++ b/arch/arm64/src/common/arm64_sigdeliver.c
@@ -54,7 +54,7 @@
 
 void arm64_sigdeliver(void)
 {
-  struct tcb_s  *rtcb = this_task();
+  struct tcb_s *rtcb = this_task();
 
 #ifdef CONFIG_SMP
   /* In the SMP case, we must terminate the critical section while the signal
diff --git a/arch/arm64/src/common/arm64_vectors.S 
b/arch/arm64/src/common/arm64_vectors.S
index abb6fb5edc..62c31b4687 100644
--- a/arch/arm64/src/common/arm64_vectors.S
+++ b/arch/arm64/src/common/arm64_vectors.S
@@ -236,10 +236,10 @@ SECTION_FUNC(text, arm64_irq_handler)
 
 GTEXT(arm64_serror_handler)
 SECTION_FUNC(text, arm64_serror_handler)
-    mov   x0, sp
-    adrp  x5, arm64_fatal_handler
-    add   x5, x5, #:lo12:arm64_fatal_handler
-    br    x5
+    mov    x0, sp
+    adrp   x5, arm64_fatal_handler
+    add    x5, x5, #:lo12:arm64_fatal_handler
+    br     x5
     /* Return here only in case of recoverable error */
 
     b      arm64_exit_exception
@@ -255,8 +255,8 @@ SECTION_FUNC(text, arm64_serror_handler)
 GTEXT(arm64_mode32_handler)
 SECTION_FUNC(text, arm64_mode32_handler)
     mov    x0, sp
-    adrp  x5, arm64_fatal_handler
-    add   x5, x5, #:lo12:arm64_fatal_handler
+    adrp   x5, arm64_fatal_handler
+    add    x5, x5, #:lo12:arm64_fatal_handler
     br     x5
     /* Return here only in case of recoverable error */
 
@@ -275,8 +275,8 @@ SECTION_FUNC(text, arm64_fiq_handler)
 #ifndef CONFIG_ARM64_DECODEFIQ
 
     mov    x0, sp
-    adrp  x5, arm64_fatal_handler
-    add   x5, x5, #:lo12:arm64_fatal_handler
+    adrp   x5, arm64_fatal_handler
+    add    x5, x5, #:lo12:arm64_fatal_handler
     br     x5
 
     /* Return here only in case of recoverable error */
diff --git a/arch/ceva/src/common/ceva_sigdeliver.c 
b/arch/ceva/src/common/ceva_sigdeliver.c
index 9d0deb4bf3..630bc63986 100644
--- a/arch/ceva/src/common/ceva_sigdeliver.c
+++ b/arch/ceva/src/common/ceva_sigdeliver.c
@@ -50,7 +50,7 @@
 
 void ceva_sigdeliver(void)
 {
-  struct tcb_s  *rtcb = this_task();
+  struct tcb_s *rtcb = this_task();
   uint32_t *regs = rtcb->xcp.saved_regs;
   sig_deliver_t sigdeliver;
 
diff --git a/arch/renesas/src/sh1/sh1_sigdeliver.c 
b/arch/renesas/src/sh1/sh1_sigdeliver.c
index 48b2cc7f5d..a9604f8550 100644
--- a/arch/renesas/src/sh1/sh1_sigdeliver.c
+++ b/arch/renesas/src/sh1/sh1_sigdeliver.c
@@ -52,7 +52,7 @@
 
 void renesas_sigdeliver(void)
 {
-  struct tcb_s  *rtcb = this_task();
+  struct tcb_s *rtcb = this_task();
   uint32_t regs[XCPTCONTEXT_REGS];
 
   board_autoled_on(LED_SIGNAL);
diff --git a/arch/z80/src/z180/z180_sigdeliver.c 
b/arch/z80/src/z180/z180_sigdeliver.c
index 7bebc5e4c6..eabc6f651f 100644
--- a/arch/z80/src/z180/z180_sigdeliver.c
+++ b/arch/z80/src/z180/z180_sigdeliver.c
@@ -52,7 +52,7 @@
 
 void z80_sigdeliver(void)
 {
-  FAR struct tcb_s  *rtcb = this_task();
+  FAR struct tcb_s *rtcb = this_task();
   chipreg_t regs[XCPTCONTEXT_REGS];
 
   board_autoled_on(LED_SIGNAL);

Reply via email to