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

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

commit ebf6287f1212a13d6fe8e70798b2b686b7aeb167
Author: Denis Meltsaykin <[email protected]>
AuthorDate: Thu Oct 29 11:57:33 2026 +0100

    arch/rp23xx: Fix style errors
    
    The patch fixes pre-existing styling errors in rp23xx_cpustart.c.
    Now the checkpatch.sh test passes.
    
    Signed-off-by: Denis Meltsaykin <[email protected]>
---
 arch/arm/src/rp23xx/rp23xx_cpustart.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/src/rp23xx/rp23xx_cpustart.c 
b/arch/arm/src/rp23xx/rp23xx_cpustart.c
index f131bcd20a9..266976bb409 100644
--- a/arch/arm/src/rp23xx/rp23xx_cpustart.c
+++ b/arch/arm/src/rp23xx/rp23xx_cpustart.c
@@ -112,13 +112,14 @@ static int fifo_comm(uint32_t msg)
 {
   uint32_t rcv;
 
-  while (!(getreg32(RP23XX_SIO_FIFO_ST) & RP23XX_SIO_FIFO_ST_RDY))
-    ;
+  while (!(getreg32(RP23XX_SIO_FIFO_ST) & RP23XX_SIO_FIFO_ST_RDY));
   putreg32(msg, RP23XX_SIO_FIFO_WR);
   __asm__ volatile ("sev");
 
   while (!(getreg32(RP23XX_SIO_FIFO_ST) & RP23XX_SIO_FIFO_ST_VLD))
-    __asm__ volatile ("wfe");
+    {
+      __asm__ volatile ("wfe");
+    }
 
   rcv = getreg32(RP23XX_SIO_FIFO_RD);
 
@@ -223,8 +224,7 @@ int up_cpu_start(int cpu)
   /* Reset Core 1 */
 
   setbits_reg32(RP23XX_PSM_PROC1, RP23XX_PSM_FRCE_OFF);
-  while (!(getreg32(RP23XX_PSM_FRCE_OFF) & RP23XX_PSM_PROC1))
-    ;
+  while (!(getreg32(RP23XX_PSM_FRCE_OFF) & RP23XX_PSM_PROC1));
   clrbits_reg32(RP23XX_PSM_PROC1, RP23XX_PSM_FRCE_OFF);
 
   /* Send initial VTOR, MSP, PC for Core 1 boot */

Reply via email to