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

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

commit 9f84530e994e108be75606bc78e711112f18a588
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Mon Nov 2 16:34:32 2026 +0800

    sched/irq: fix nxstyle.
    
    Fix missing blank line after declarations.
    
    Assisted-By: mimo-v2.6-pro
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 sched/irq/irq_csection.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sched/irq/irq_csection.c b/sched/irq/irq_csection.c
index 1680d11bb92..5859623571f 100644
--- a/sched/irq/irq_csection.c
+++ b/sched/irq/irq_csection.c
@@ -268,6 +268,7 @@ irqstate_t enter_critical_section_notrace(void)
   if (!up_interrupt_context())
     {
       FAR struct tcb_s *rtcb = this_task();
+
       DEBUGASSERT(rtcb != NULL);
 
       /* Have we just entered the critical section?  Or is this a nested
@@ -367,6 +368,7 @@ void leave_critical_section_notrace(irqstate_t flags)
                       g_cpu_nestcount[cpu] == 1);
 
           FAR struct tcb_s *rtcb = current_task(cpu);
+
           DEBUGASSERT(rtcb != NULL);
           DEBUGASSERT((g_cpu_irqset & (1 << cpu)) != 0);
 
@@ -441,6 +443,7 @@ void leave_critical_section_notrace(irqstate_t flags)
   if (!up_interrupt_context())
     {
       FAR struct tcb_s *rtcb = this_task();
+
       DEBUGASSERT(rtcb != NULL);
 
       /* Have we left entered the critical section?  Or are we still

Reply via email to