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

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

commit 8080d6651103d2be0473eec88d39742e020f404d
Author: Marco Casaroli <[email protected]>
AuthorDate: Wed Oct 21 19:56:21 2026 +0200

    arch/arm: Fix the nxstyle errors in arm_fork.c.
    
    Add the blank lines after declarations that nxstyle asks for.  The errors
    are older than the next commits, which touch these files.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 arch/arm/src/common/arm_fork.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/src/common/arm_fork.c b/arch/arm/src/common/arm_fork.c
index 55adec0510f..a33c55a1eb9 100644
--- a/arch/arm/src/common/arm_fork.c
+++ b/arch/arm/src/common/arm_fork.c
@@ -166,6 +166,7 @@ static pid_t arm_fork_direct(bool vfork, struct tcb_s 
*parent,
       if (context->fp >= oldsp && context->fp < stacktop)
         {
           uint32_t frameutil = stacktop - context->fp;
+
           newfp = newtop - frameutil;
         }
       else
@@ -205,6 +206,7 @@ static pid_t arm_fork_direct(bool vfork, struct tcb_s 
*parent,
   if (parent->xcp.nsyscalls > 0)
     {
       int index;
+
       for (index = 0; index < parent->xcp.nsyscalls; index++)
         {
           child->xcp.syscall[index].sysreturn =
@@ -360,6 +362,7 @@ static pid_t arm_fork_syscall(bool vfork, struct tcb_s 
*parent)
       if (sregs[REG_FP] >= oldsp && sregs[REG_FP] < stacktop)
         {
           uint32_t frameutil = stacktop - sregs[REG_FP];
+
           newfp = newtop - frameutil;
         }
       else

Reply via email to