#4822 closed defect (fixed)

Function returning unchanged function input

Reported by: Daniel Páscoa Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: score Version: 6
Severity: normal Keywords: qualification
Cc: Blocked By:


These functions appear to be returning their input without making any changes. To improve their functionality, it is recommended to re-write them to return void.

Additional Notes:
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 RTEMS-SMP-CODE-VER-057.

File: cpukit\score\src\smp.c
Function: _SMP_Process_message
Line: 284

Change History (3)

comment:1 Changed on 01/24/23 at 15:41:24 by Sebastian Huber

Component: adminscore
Milestone: 6.1
Owner: set to Sebastian Huber
Status: newassigned
Version: 6

comment:2 Changed on 01/24/23 at 15:44:36 by Sebastian Huber

Keywords: qualification added

comment:3 Changed on 01/24/23 at 18:24:52 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In 48f693a9/rtems:

score: Remove unused return value

Several SMP message processing functions returned a value. This value
was always unused.

Close #4822.

Note: See TracTickets for help on using tickets.