Joel Sherrill
c49cfbf9a9
testsuites/psxtests/*/init.c: Address type limit warnings
...
GCC generates type limit warnings when comparison is always true or
always false due to the limited range of the data type, This was in a
termios structure. For most of the cases in RTEMS, this was when
a variable of an unsigned type was compared to be < or <= 0.
2025-10-28 19:33:35 +00:00
Joel Sherrill
9e8a8dff2e
bsps/shared/dev/gpio/gpio-support.c: Address type limit warnings
...
GCC generates type limit warnings when comparison is always true or
always false due to the limited range of the data type, This was in a
termios structure. For most of the cases in RTEMS, this was when
a variable of an unsigned type was compared to be < or <= 0.
2025-10-28 19:33:35 +00:00
Joel Sherrill
31de2b300d
bsps/powerpc/shared/irq/openpic.c: Address type limit warnings
...
GCC generates type limit warnings when comparison is always true or
always false due to the limited range of the data type, This was in a
termios structure. For most of the cases in RTEMS, this was when
a variable of an unsigned type was compared to be < or <= 0.
2025-10-28 19:33:35 +00:00
Joel Sherrill
a555b7d292
ss555/dev/console-generic.c: Address missing field initializer warnings
...
This was in a termios structure. The initialization was changed to using
named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
ebcfc3db27
powerpc/shared/.../uart.c: Address missing field initializer warnings
...
This was in a structure describing Flash memory configuration.
The initialization was changed to using named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
6900b048d8
powerpc/shared/.../uart.c: Address missing field initializer warnings
...
These were in a uart driver configuration structure.
The initialization was changed to using named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
0ff1ea4ab4
motorola_powerpc: Address missing field initializer warnings
...
These were in declarations of board information structure with
initialization. The initialization was changed to using named
fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
2999ec8607
beatnik: Address missing field initializer warnings
...
This was in a structure describing Flash memory configuration.
The initialization was changed to using named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Aaron Nyholm
190899ee61
bsps/shared/jffs2_flashdev.c: Fixed fatal heap error on failed mount
...
Removed double free of mount_data and instance.
Closes #5381
2025-10-28 15:15:08 +11:00
Kinsey Moore
2cb47d2010
bsps/jffs2_flashdev: Return correct value for OOB size
...
Return the actual out of bounds size per page instead of the ioctl
return status. JFFS2 will happily operate with an OOB size of 0 and
instead put cleanmarkers in the normal page space of the flash.
2025-10-23 15:31:57 -05:00
Joel Sherrill
cfc9ee2e60
libdebugger/rtems-debugger-*.c: Address ignored qualifier warnings
...
GCC generates a warning when the return type of a function has a type
qualifier such as 'const'.
2025-10-17 15:08:47 -05:00
Kinsey Moore
955d36ea47
bsps/qspi: Make flashdev control structure private
...
These structures are not required to be exposed to users for any
functionality and users of the API have no way to make use of them.
2025-10-16 11:26:52 -05:00
Joel Sherrill
62e0865bcc
bsps/powerpc/shared/clock/p_clock.c: Fix compile error
...
The error was referencing a field in the rtems_irq_connect_data
structure which only existed when BSP_SHARED_HANDLER_SUPPORT is
enabled.
Updates #5325 .
2025-10-15 14:34:39 +00:00
Joel Sherrill
363afebd67
spclock_todhook01/init.c: Address missing field initializer warning (tm)
...
These were struct tm declarations with initialization. The initialization
was changed to using named fields.
Updates #5325 .
2025-10-14 14:39:20 -05:00
Joel Sherrill
5c24413f4d
psxclassic01/init.c: Address missing field initializer warning (siginfo)
...
This one a siginfo_t declaration with initialization. The initialization
was changed to using named fields.
Updates #5325 .
2025-10-14 14:28:27 -05:00
Joel Sherrill
1d08df678b
testsuites/*: Address missing field initializer warnings (extensions)
...
Address missing field initializer warnings.
These were rtems_extensions_table declarations with initialization.
The initialization was changed to using named fields.
Updates #5325 .
2025-10-14 14:24:30 -05:00
Joel Sherrill
edba3942cc
/utf8proc/utf8proc_data.c: Address missing field initializer warnings
...
Address missing field initializer warnings. Since this is third party
code and the structure initialization in question is large, the
warning was disabled.
Updates #5325 .
2025-10-14 14:23:59 -05:00
Joel Sherrill
f6c6b309eb
cpukit/libmisc/shell/main_pci.c: Add field in shell_pci_modifier table
...
This file had a table supporting the command line options.
Updates #5325 .
2025-10-14 14:23:59 -05:00
Joel Sherrill
100d62d1ec
rtems-debugger-cmd.c: Address missing field initializer warnings (shell)
...
Address missing field initializer warnings.
These were rtems_shell_cmd_t or rtems_shell_alias_t declarations
with initialization. The initialization was changed to using named
fields.
Updates #5325 .
2025-10-14 14:23:59 -05:00
Joel Sherrill
87f5aa145b
testsuites/samples/fileio: Address missing field initializer warnings
...
Address missing field initializer warnings.
These were rtems_shell_cmd_t or rtems_shell_alias_t declarations
with initialization. The initialization was changed to using named
fields.
Updates #5325 .
2025-10-14 14:23:59 -05:00
Joel Sherrill
f519633d0d
cpukit/.../shell: Address missing field initializer warnings
...
Address missing field initializer warnings.
These were all rtems_shell_cmd_t or rtems_shell_alias_t declarations
with initialization. The initialization was changed to using named
fields.
Updates #5325 .
2025-10-14 14:23:59 -05:00
Chris Johns
6269686dfb
rtemscxx: Support building on Unix
...
This lets you develop unittests on Unix.
2025-10-14 14:43:26 +11:00
Aaron Nyholm
62bbd05a31
cpukit/close.c: Open flag corrected for busy closes
...
Fix closing while busy. Previously open flag in the iop would be unset despite
close returning EBUSY.
Updates #5311
2025-10-14 13:09:51 +11:00
Gedare Bloom
523b97ed40
cpukit/rtems: regenerate basedefs with fallthrough
...
Regenerate basedefs from specifications with RTEMS_FALL_THROUGH().
2025-10-13 19:02:19 +00:00
Joel Sherrill
f6e7b3bfbf
bsps/powerpc: Address missing field initializer warnings
...
Address missing field initializer warnings.
These were all rtems_irq_connect_data declarations with initialization.
The initialization was changed to using named fields and specifying an
initializer for each field.
2025-10-12 11:33:47 -05:00
Joel Sherrill
d9e156f3a3
pc386/uart_bus_pci.c: Address missing field initializer warnings
...
Address missing field initializer warnings.
This code originated from FreeBSD and only some initializers are
missing the last field. It is best to avoid modifying the code so
the warning is disabled for this array initialization.
2025-10-12 10:42:37 -05:00
Joel Sherrill
243c25d191
bsps ACPI: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
The ACPI change set includes two headers which define debug macros. When
not building for debug, the instantiated inline functions generate
unused parameter warnings from every file they are included in. The
warning was disabled around the macro instantiations.
2025-10-10 22:04:38 +00:00
Joel Sherrill
eb6af2871e
bsps i386: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:03:23 +00:00
Joel Sherrill
a4319861c0
cpukit i386: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:03:23 +00:00
Joel Sherrill
0c97eb1d48
arm/xilinx-zynqmp-rpu: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
754b10289c
arm/xilinx-zynqmp: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
d379aa996b
arm/xilinx-zynq: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
8acbcad50c
arm/tms570: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
dcde65029b
arm/stm32u5: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
94475b3386
arm/stm32h7: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
004e3b7bbc
arm/stm32f4: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
c9c04ebdea
arm/smdk2410: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
2690e9335b
arm/shared: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
b5c952e6b6
arm/rtl22xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
c9798a0f80
arm/realview-pbx-a9: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
6666bc0c33
arm/raspberrypi: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
6a3e1ff889
arm/lpc32xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
ef742b98c7
arm/lpc24xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
d8c188757d
arm/lpc176x: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
b43936d848
arm/lm3s69xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
1600191ebd
arm/imxrt: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
172c853ba9
arm/imx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
c4fdd4c4cb
arm/edb7312: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
b62ad8c061
arm fvp: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
07ad871a8c
arm edb7312: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00