RTEMS | testsuites/validation/tc-score-thread.c: Fix warning on assignment (!434)

Sebastian Huber (@sebhub) gitlab at rtems.org
Mon Mar 3 23:07:29 UTC 2025




Sebastian Huber commented on a discussion on testsuites/validation/tc-score-thread.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/434#note_120501

 >    worker_id = ctx->worker_id;
 >    state = ctx->thread_switch_state;
 >    ctx->thread_switch_state = state + 1;
 > -  heir_stack = _CPU_Context_Get_SP( &heir->Registers );
 > +  heir_stack = (uintptr_t) _CPU_Context_Get_SP( &heir->Registers );

Maybe add this requirement to the documentation header in no_cpu.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/434#note_120501
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250303/6e2eb9c6/attachment.htm>


More information about the bugs mailing list