#4808 assigned defect

Incorrect Formatting of "if", "while", or "for" Statements

Reported by: Daniel Páscoa Owned by: Needs Funding
Priority: normal Milestone: 7.1
Component: unspecified Version: 6
Severity: normal Keywords: qualification
Cc: Blocked By:
Blocking:

Description

Description:
As outlined in the RTEMS Engineering document, there should be a single space both inside and outside of each parenthesis in the conditional expression. It is noted that some statements are missing spaces. It is recommended to review each statement to ensure adherence to the established formatting guidelines.
The attached excel lists in a systematic way the sources where this issue applies.

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-008.

File list (please check the attached excel for more information):
bsps\include\bsp\irq-generic.h
cpukit\include\machine\_kernel_time.h
cpukit\include\rtems\confdefs\extensions.h
cpukit\include\rtems\score\isr.h
cpukit\include\rtems\test-info.h
cpukit\include\sys\timeffc.h
cpukit\include\sys\timepps.h
cpukit\libc\search\qsort.c
cpukit\libc\string\flsl.c
cpukit\libc\string\memcmp.c
cpukit\libc\string\memcpy.c
cpukit\libc\string\memset.c
cpukit\libc\string\strchr.c
cpukit\libc\string\strcmp.c
cpukit\libc\string\strlen.c
cpukit\libc\string\strrchr.c
cpukit\libmd\sha256c.c
cpukit\libtest\t-test.c
cpukit\libtest\t-test-busy.c
cpukit\libtest\t-test-busy-tick.c
cpukit\libtest\t-test-interrupt.c
cpukit\libtest\t-test-rtems-measure.c
cpukit\libtest\t-test-rtems-objs.c
cpukit\libtest\t-test-scheduler.c
cpukit\libtest\t-test-thread-switch.c
cpukit\libtest\t-test-time.c
cpukit\rtems\src\clockgettod.c
cpukit\rtems\src\ratemonperiod.c
cpukit\rtems\src\timerserver.c
cpukit\score\cpu\sparc\cpu.c
cpukit\score\cpu\sparc\cpu_asm.S
cpukit\score\cpu\sparc\include\rtems\score\sparc.h
cpukit\score\src\iobase64.c
cpukit\score\src\iodumpgcovinfo.c
cpukit\score\src\iovprintf.c
cpukit\score\src\kern_tc.c
cpukit\score\src\rbtreereplace.c
bsps\shared\cache\cacheimpl.h
bsps\shared\dev\clock\clockimpl.h
bsps\shared\irq\irq-affinity.c
bsps\shared\irq\irq-lock.c
bsps\sparc\leon3\clock\ckinit.c
bsps\sparc\leon3\console\printk_support.c
bsps\sparc\leon3\include\tm27.h
bsps\sparc\leon3\start\bspclean.c
bsps\sparc\leon3\start\cache.c
bsps\sparc\leon3\start\cpucounter.c
bsps\sparc\leon3\start\eirq.c

Attachments (1)

RTEMS-SMP-CODE-VER-008.xlsx (12.6 KB) - added by Daniel Páscoa on 01/23/23 at 09:58:57.

Download all attachments as: .zip

Change History (3)

Changed on 01/23/23 at 09:58:57 by Daniel Páscoa

Attachment: RTEMS-SMP-CODE-VER-008.xlsx added

comment:1 Changed on 01/23/23 at 10:15:35 by Sebastian Huber

Keywords: qualification added

comment:2 Changed on 01/24/23 at 10:30:12 by Sebastian Huber

Component: adminunspecified
Milestone: 7.1
Owner: set to Needs Funding
Status: newassigned
Version: 6
Note: See TracTickets for help on using tickets.