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 d0036ae5213f8ca22c6d67bd800042dca682b3f4 Author: Marco Casaroli <[email protected]> AuthorDate: Sun Oct 11 10:56:52 2026 +0200 sched/task: Fix the nxstyle errors in task_setup.c. Add the blank lines after declarations. No code change. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- sched/task/task_setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sched/task/task_setup.c b/sched/task/task_setup.c index 65ee13e7f1c..90689819b3d 100644 --- a/sched/task/task_setup.c +++ b/sched/task/task_setup.c @@ -227,6 +227,7 @@ retry: static inline void nxtask_inherit_affinity(FAR struct tcb_s *tcb) { FAR struct tcb_s *rtcb = this_task(); + tcb->affinity = rtcb->affinity; } #else @@ -359,6 +360,7 @@ static inline void nxtask_save_parent(FAR struct tcb_s *tcb, uint8_t ttype) static inline void nxtask_dup_dspace(FAR struct tcb_s *tcb) { FAR struct tcb_s *rtcb = this_task(); + if (rtcb->dspace != NULL) { /* Copy the D-Space structure reference and increment the reference
