This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch releases/13.1 in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 7e3d3befcdf294e4152aa2e4683de9902c4e36b3 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
