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 f1837981fa06dba9fdc2772b5433317246625e19
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Fri Sep 4 14:04:21 2026 +0800

    style: add missing blank line after declarations
    
    Fix checkpatch "Missing blank line after declarations" errors in
    drivers/timers/arch_timer.c and sched/sched/sched_processtickless.c.
    These are pre-existing issues, not introduced by the recent tickless
    RR series.
    
    Assisted-by: Zhipu GLM-5.3
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 drivers/timers/arch_timer.c         | 1 +
 sched/sched/sched_processtickless.c | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/drivers/timers/arch_timer.c b/drivers/timers/arch_timer.c
index 67107e2ad3c..b8689863680 100644
--- a/drivers/timers/arch_timer.c
+++ b/drivers/timers/arch_timer.c
@@ -128,6 +128,7 @@ static uint64_t current_usec(void)
 static void udelay_accurate(useconds_t microseconds)
 {
   uint64_t start = current_usec();
+
   while (current_usec() - start < microseconds)
     {
       ; /* Wait until the timeout reach */
diff --git a/sched/sched/sched_processtickless.c 
b/sched/sched/sched_processtickless.c
index 4ffe7c12e4b..1111dd0349b 100644
--- a/sched/sched/sched_processtickless.c
+++ b/sched/sched/sched_processtickless.c
@@ -105,6 +105,7 @@ int up_timer_gettick(FAR clock_t *ticks)
 {
   struct timespec ts;
   int ret;
+
   ret = up_timer_gettime(&ts);
   *ticks = clock_time2ticks_floor(&ts);
   return ret;
@@ -115,6 +116,7 @@ int up_timer_gettick(FAR clock_t *ticks)
 int up_alarm_tick_start(clock_t ticks)
 {
   struct timespec ts;
+
   clock_ticks2time(&ts, ticks);
   return up_alarm_start(&ts);
 }
@@ -124,6 +126,7 @@ int up_alarm_tick_start(clock_t ticks)
 int up_timer_tick_start(clock_t ticks)
 {
   struct timespec ts;
+
   clock_ticks2time(&ts, ticks);
   return up_timer_start(&ts);
 }
@@ -213,6 +216,7 @@ static clock_t nxsched_cpu_scheduler(int cpu, clock_t ticks,
   if ((rtcb->flags & TCB_FLAG_POLICY_MASK) == TCB_FLAG_SCHED_SPORADIC)
     {
       FAR struct sporadic_s *sporadic = rtcb->sporadic;
+
       DEBUGASSERT(sporadic);
 
       /* Save the last time that the scheduler ran.  This time was saved

Reply via email to