RTEMS | assert node->previous==NULL in chain_is_node_off_chain() (!871)
Dhruva P V (@Dhrulian)
gitlab at rtems.org
Wed Dec 10 19:00:59 UTC 2025
Dhruva P V commented on a discussion on cpukit/include/rtems/score/chainimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/871#note_137120
> const Chain_Node *node
> )
> {
> - return node->next == NULL;
> + if ( node->next == NULL ) {
> + _Assert( node->previous == NULL );
I fixed the indentation error.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/871#note_137120
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/20251210/7ce0f4e5/attachment.htm>
More information about the bugs
mailing list