[RTEMS Project] #4812: Discrepancy between Code and Comments

RTEMS trac trac at rtems.org
Mon Jan 23 10:07:45 UTC 2023

#4812: Discrepancy between Code and Comments
  Reporter:  Daniel Páscoa  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:
 Component:  admin          |    Version:
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
 Inconsistency between Function Description and Implementation: The
 function is described as checking for an off-chain node based on the
 presence of NULL values in both the "next" and "previous" fields. However,
 the "_Chain_Is_node_off_chain" function, which is called within this
 function, only checks for a NULL value in the "next" field.
 Recommendation: Review and rectify the mismatch between the function
 description and implementation.

 **Additional Notes:**
 The file having this problem is:
 -       cpukit\include\rtems\chain.h (function
 rtems_chain_is_node_off_chain) (line 224)

 This ticket was raised as an outcome of the Independent SW Verification
 and Validation (ISVV) for ESA-promoted RTEMS SMP Qualification Data Packs
 (https://rtems-qual.io.esa.int). Original ISVV reference for this issue is

Ticket URL: <http://devel.rtems.org/ticket/4812>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list