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

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

commit c126ee8468a0beff8913bc522b1c80a7d5279bb8
Author: Ville Juven <[email protected]>
AuthorDate: Mon Jul 31 12:14:35 2023 +0300

    sched/assert.c: Fix style check error
---
 sched/misc/assert.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sched/misc/assert.c b/sched/misc/assert.c
index 60cb14dc34..357ad7b814 100644
--- a/sched/misc/assert.c
+++ b/sched/misc/assert.c
@@ -238,10 +238,11 @@ static void dump_stacks(FAR struct tcb_s *rtcb, uintptr_t 
sp)
                  intstack_base,
                  intstack_size,
 #ifdef CONFIG_STACK_COLORATION
-                 up_check_intstack());
+                 up_check_intstack()
 #else
-                 0);
+                 0
 #endif
+                 );
 
       tcbstack_sp = up_getusrsp((FAR void *)CURRENT_REGS);
       if (tcbstack_sp < tcbstack_base || tcbstack_sp >= tcbstack_top)
@@ -271,10 +272,11 @@ static void dump_stacks(FAR struct tcb_s *rtcb, uintptr_t 
sp)
                  tcbstack_base,
                  tcbstack_size,
 #ifdef CONFIG_STACK_COLORATION
-                 up_check_tcbstack(rtcb));
+                 up_check_tcbstack(rtcb)
 #else
-                 0);
+                 0
 #endif
+                 );
     }
 }
 

Reply via email to