Commit Graph

37944 Commits

Author SHA1 Message Date
Joel Sherrill
6de3352acb bsps/arm: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 08:18:27 -06:00
Joel Sherrill
92d281243e bsps/sparc/leon3: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
The cause is frequently a mismatch when comparing a combination off_t,
ssize_t, and int.
2026-02-05 07:43:24 -06:00
Joel Sherrill
65c214b4fc cpukit/score/cpu/microblaze/cpu.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:32:43 +00:00
Joel Sherrill
6f115626a7 cpukit/libdl/rtl-mdreloc-powerpc.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:32:43 +00:00
Joel Sherrill
f948f8e607 libdebugger/rtems-debugger-powerpc.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:32:43 +00:00
Joel Sherrill
e84a0c4b0e cpukit/libcsupport/src/pwdgrp.c: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:32:43 +00:00
Joel Sherrill
38d2a37bc4 bsps/aarch64: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:30:47 +00:00
Joel Sherrill
9cb3eecb5f bsps/i386: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:29:52 +00:00
Joel Sherrill
35fcaf1d14 bsps/or1k: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:23:20 +00:00
Joel Sherrill
bcb814451c bsps/sparc: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:22:40 +00:00
Joel Sherrill
e5fd83ed1f bsps/riscv: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:21:41 +00:00
Joel Sherrill
d78565bcdb bsps/shared: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:17:19 +00:00
Joel Sherrill
529eff1b7b bsp/mips: Address -Wsign-compare warnings
This warning occurs when comparing a signed variable to an unsigned one.
This addresses warnings that only occurred on 64-bit targets.  For the
ones which only appeared on 64-bit targets, the cause was frequently
a mismatch when comparing a combination off_t, ssize_t, and int.
2026-02-05 00:16:44 +00:00
Joel Sherrill
d1ae8a1805 smptests: Address warnings
Most of the warnings were -Wsign-compare.
2026-02-05 00:15:43 +00:00
Joel Sherrill
7daf78f43f i386/shared/irq: Address unused parameter warning
This only impacted SMP specific builds.
2026-02-05 00:15:43 +00:00
Joel Sherrill
db00ec6902 pc386/start/smp-imps.c: Address multiple warnings
This started life as third party code but has been previously
modified without __rtems__ conditionals. The modifications fixed
some warnings (sign compare, memset writing past end of area,
and uninitialized structure field) but some were disabled as the
code was too complex to do otherwise without rigorous testing.
2026-02-05 00:15:43 +00:00
Joel Sherrill
4602965e34 arm/xilinx-zynqmp: Address unused parameter warning
This was in SMP-only source.
2026-02-05 00:15:43 +00:00
Preetam Das
d2a3897992 testsuites/samples: Fix minor typo in cdtest output
Corrected spelling of 'execption' to 'exception' in foo_function.
2026-02-04 23:55:01 +00:00
Gedare Bloom
cacf47b45b cpukit/include/rtems: update licenses and SPDX to 2BSD
Updates #3053.
2026-02-04 17:41:07 -06:00
Gedare Bloom
6418ac5e10 cpukit/include/rtems: move fatfs.h to cpukit/contrib
updates #5456
2026-02-04 17:39:57 -06:00
Prashant Rahul
9c2c1a6b03 cpukit/stringto: adapt stringto template for new api
This adapts stringto template file to adhere to the new api
Adds a special case for uchar conversion

Signed-off-by: Prashant Rahul <prashantrahul141@protonmail.com>
2026-02-04 23:34:44 +00:00
Prashant Rahul
77b0e01e79 cpukit/stringto: add special defines for stringtounsignedchar
This adds special defines in case of conversion to unsigned char
Adds missing defines in some of the other stringto functions
and adds the stringto.h header to all stringto* implementations

Signed-off-by: Prashant Rahul <prashantrahul141@protonmail.com>
2026-02-04 23:34:44 +00:00
Prashant Rahul
b0755abea6 cpukit/stringto: refactor: Revert to commit e8d59ca6af
Reverts back all stringto implementation files  to
e8d59ca6af

Signed-off-by: Prashant Rahul <prashantrahul141@protonmail.com>
2026-02-04 23:34:44 +00:00
Gedare Bloom
534d5134dd cpukit/libmisc: reformat bspcmdline
Fixes #5460.
2026-02-04 17:22:14 -06:00
Gedare Bloom
6b44911f4f cpukit/libmisc: reformat regulator
Fixes #5459.
2026-02-04 17:21:10 -06:00
Gedare Bloom
ef2bbe4eba cpukit/libmisc: reformat devnull
Fixes #5463.
2026-02-04 17:19:10 -06:00
Gedare Bloom
a16a019c2d cpukit/libmisc: reformat dumpbuf
Fixes #5464.
2026-02-04 17:17:35 -06:00
Gedare Bloom
05e80dff97 cpukit/libmisc: reformat redirector
Fixes #5469.
2026-02-04 17:15:56 -06:00
Gedare Bloom
5b8dd1207c cpukit/libmisc: reformat default-configuration
Fixes #5465.
2026-02-04 17:15:10 -06:00
Gedare Bloom
c60f56c925 cpukit/libmisc: reformat fb
Fixes #5466.
2026-02-04 17:14:06 -06:00
Gedare Bloom
900f84197b cpukit/libmisc: reformat stackchk
Fixes #5471.
2026-02-04 17:10:19 -06:00
Gedare Bloom
15b460582a cpukit/libmisc: reformat mouse
Fixes #5473.
2026-02-04 17:01:08 -06:00
Gedare Bloom
7af0310048 cpukit/libmisc: reformat untar
Fixes #5474.
2026-02-04 12:40:18 -07:00
Sam Price
e0668f009e bsp/microblaze-fpga: capture GPIO config from FDT 2026-02-04 09:06:53 -06:00
Gedare Bloom
16b11a4342 cpukit: move third-party include files to cpukit/contrib
Fixes #5456
2026-02-03 12:42:57 -07:00
Joel Sherrill
c9f85784d3 bsps & testsuites: Fix SPDX/license mismatch
These files had BSD-2 Clause SPDX but the license text still
was the historical license.

Updates #3053.
2026-02-02 15:19:52 -06:00
Gedare Bloom
63034d7368 cpukit/confdefs: reformat with clang-format
Updates #3860.
Closes #5353.
2026-02-02 14:45:09 -06:00
Gedare Bloom
9da9c086e3 cpukit/sapi: reformat src with clang-format
Updates #3860.
Updates #5353.
2026-02-02 14:45:09 -06:00
Gedare Bloom
72dd54eaa8 cpukit/libcsupport: reformat src with clang-format
excludes cfmakeraw.c, cfmakesane.c, realpath.c

Updates #3860.

Closes #5355.
2026-02-02 14:44:08 -06:00
Gedare Bloom
d68ce7ca80 cpukit/libfs: reformat imfs with clang-format
Updates #3860.

Closes #5357.
2026-02-02 14:43:27 -06:00
Gedare Bloom
da0c99d2a1 testsuites/fstests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
689913555d testsuites/sptests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
c9101cef19 testsuites/mptests: reformat with clang-format
Updates #3860.
Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
834a0350b5 testsuites/tmtests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
7c24bcced0 testsuites/support: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
f5d93a7421 testsuites/smptests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
57ea3fe79f testsuites/samples: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
f2b17295cb testsuites/rhealstone: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
87e4f79bd1 testsuites/psxtmtests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00
Gedare Bloom
077fbf519b testsuites/psxtests: reformat with clang-format
Updates #3860.

Updates #5358.
2026-02-02 14:35:59 -06:00