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

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

commit 2f459314a0caa109150640fa1a344104293ba86b
Author: Marco Casaroli <[email protected]>
AuthorDate: Tue Sep 29 14:53:14 2026 +0200

    sched: Fix the nxstyle errors in sem_post.c and sig_dispatch.c.
    
    Add the blank line nxstyle wants after three declarations.  No code
    change.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 sched/semaphore/sem_post.c  | 1 +
 sched/signal/sig_dispatch.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/sched/semaphore/sem_post.c b/sched/semaphore/sem_post.c
index 6f191ed5a08..bb054d8341d 100644
--- a/sched/semaphore/sem_post.c
+++ b/sched/semaphore/sem_post.c
@@ -209,6 +209,7 @@ int nxsem_post_slow(FAR sem_t *sem)
                 {
                   uint32_t blocking_bit = dq_empty(SEM_WAITLIST(sem)) ?
                     0 : NXSEM_MBLOCKING_BIT;
+
                   atomic_set(NXSEM_MHOLDER(sem),
                             ((uint32_t)stcb->pid) | blocking_bit);
                 }
diff --git a/sched/signal/sig_dispatch.c b/sched/signal/sig_dispatch.c
index 79dc91a1da6..174602477f8 100644
--- a/sched/signal/sig_dispatch.c
+++ b/sched/signal/sig_dispatch.c
@@ -788,6 +788,7 @@ int nxsig_dispatch(pid_t pid, FAR siginfo_t *info, bool 
thread)
        */
 
       FAR struct task_group_s *group = task_getgroup(pid);
+
       if (group != NULL)
         {
           return group_signal(group, info);
@@ -799,6 +800,7 @@ int nxsig_dispatch(pid_t pid, FAR siginfo_t *info, bool 
thread)
       /* Get the TCB associated with the thread TID */
 
       FAR struct tcb_s *stcb = nxsched_get_tcb(pid);
+
       if (stcb != NULL)
         {
           return nxsig_tcbdispatch(stcb, info, false);

Reply via email to