Mostafa Abdelglel
117e2e083b
README.md: Update fix POSIX Compliance guide link
...
Fix broken link for the POSIX Compliance guide by replacing master with
main
2026-02-08 03:47:37 +02:00
Kinsey Moore
120bc92b04
libmisc/stringto: Resolve error on 64bit systems
...
On 32bit systems, int and long are the same size. This is not the case
on 64bit systems. This corrects the maximum value of the stringto type
on those systems.
2026-02-06 13:29:20 -06:00
Kinsey Moore
f99e154586
spec/jffs2: Update warning flags for summary support
...
This flag was missed due to out of date GCC and is necessary for GCC 15
to avoid errors in third-party code.
2026-02-06 13:29:20 -06:00
Kinsey Moore
8a776715fe
shared/irq: Resolve function cast warning
...
The function cast from more parameters to fewer parameters is generally
unsafe as the additional parameters will be undefined values that happen
to be in the right registers if it is ever called. Instead of casting
the function pointer, provide a dummy function pointer when the original
function pointer is non-NULL since it is only ever used for a
NULL-check.
2026-02-06 13:29:20 -06:00
Prashant Rahul
97e4174c62
cpukit/stringto: return RTEMS_INVALID_ADDRESS when null input string
...
libc's strto* functions' behaviour isn't defined when the passed string
is NULL. In glibc it causes a seg fault when I tested it. This could
cause inconsistency.
rtem's stringto* functions didnt previously checked for null before
passing to underlying strto* functions.
Added the check which returns `RTEMS_INVALID_ADDRESS` on failure.
Also added a test case for the same
Signed-off-by: Prashant Rahul <prashantrahul141@protonmail.com >
2026-02-06 17:47:28 +00:00
Joel Sherrill
9c7666ba2d
bsps/powerpc: 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 23:17:46 +00:00
Gedare Bloom
59ef829a34
cpukit/rfs: use InsertBraces
...
Updates #5342 .
2026-02-05 14:43:37 -07:00
Gedare Bloom
42b507dca0
cpukit/rtl: add missing parenthesis
...
Fixes #5480
2026-02-05 14:41:47 -07:00
Gedare Bloom
b7b0eb1142
cpukit/libdl: format with InsertBraces
...
Updates #5344
2026-02-05 14:40:30 -07:00
Gedare Bloom
0512135fb1
cpukit/dev/can: fix typo in format directive
...
Updates #3860
2026-02-05 14:57:03 -06:00
Gedare Bloom
3480dc3644
cpukit/librtemscxx: reformat
...
Fixes #5453 .
2026-02-05 14:55:29 -06:00
Gedare Bloom
6c47d4d000
cpukit/libmisc: relicense stringto
...
Fixes #5475
Updates #3053
2026-02-05 14:50:37 -06:00
Gedare Bloom
41df32a43c
cpukit/libmisc: reformat stringto
...
Fixes #5472 .
2026-02-05 14:50:37 -06:00
Gedare Bloom
706eab69db
cpukit/include: reformat headers
...
Using OAR style for posix and rtems headers at global scope
2026-02-05 14:06:45 -06:00
Joel Sherrill
959ef5b3bb
bsps/x86_64: 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-06 07:04:47 +11:00
Gedare Bloom
332d42027f
cpukit/include: reformat linux to OAR style
...
These are linux support header files, not imports from linux.
fixes #5479 .
2026-02-05 14:01:17 -06:00
Gedare Bloom
4ac38c5427
cpukit/libdrvmgr: reformat
...
Fixes #5446
2026-02-05 14:00:25 -06:00
Gedare Bloom
f7737a09b0
cpukit/libpci: reformat
...
Fixes #5452
2026-02-05 12:14:40 -07:00
Gedare Bloom
149df22aeb
cpukit/dev: reformat io files
...
Closes #5443 .
2026-02-05 10:46:11 -07:00
Gedare Bloom
1b17076054
cpukit/dev/spi: reformat
...
Updates #5443 .
2026-02-05 10:46:11 -07:00
Gedare Bloom
4ced2b7f33
cpukit/dev/serial: reformat
...
Updates #5443 .
2026-02-05 10:46:11 -07:00
Gedare Bloom
0e85986583
cpukit/dev/i2c: reformat
...
updates #5443 .
2026-02-05 10:46:11 -07:00
Gedare Bloom
ffd859a304
cpukit/dev/flash: reformat
...
Updates #5443
2026-02-05 10:46:11 -07:00
Gedare Bloom
c6cdbd2c60
cpukit/dev/can: reformat
...
Updates #5443
2026-02-05 10:46:09 -07:00
Gedare Bloom
a665d2ea47
cpukit/dev: disable formatting array
...
Updates #5443 .
2026-02-05 10:45:16 -07:00
Joel Sherrill
ec5d809fa2
fstests/fsrdwr: 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 17:39:08 +00:00
Gedare Bloom
b98b397491
cpukit/rfs: reformat to LLVM style
...
Fixes #5342 .
2026-02-05 17:36:21 +00:00
Gedare Bloom
6238a211ed
libdl: fix errors after reformatting
...
Some of the include reordering caused compile errors.
2026-02-05 10:24:14 -07:00
Gedare Bloom
2a7ec88270
cpukit/libfs/ftpfs: reformat
...
fixes #5447
2026-02-05 09:53:09 -06:00
Gedare Bloom
715615e0ab
cpukit/libfs/defaults: reformat
...
fixes #5457
2026-02-05 09:53:09 -06:00
Gedare Bloom
b8fad099e8
cpukit/libfs/pipe: reformat
...
Fixes #5448 .
2026-02-05 09:53:09 -06:00
M Mithilesh
fe397f9c0e
cpukit/posix: Fix uninitialized read in mq_open (CID 1667264)
...
Note: This fix was analyzed and implemented manually based
on the Coverity report.
2026-02-05 09:51:04 -06:00
Gedare Bloom
6cfb30623f
cpukit/libmisc: reformat cpuuse
...
Fixes #5462 .
2026-02-05 09:49:37 -06:00
Gedare Bloom
a94cbc8610
cpukit/libmisc: reformat fsmount
...
Fixes #5467 .
2026-02-05 09:47:48 -06:00
Gedare Bloom
0ea438b7c0
cpukit/libmisc: reformat monitor
...
Fixes #5468 .
2026-02-05 09:37:20 -06:00
Gedare Bloom
47f5882905
cpukit/libmisc: reformat rtems-fdt
...
Fixes #5470 .
2026-02-05 09:36:09 -06:00
Gedare Bloom
895330fcf5
cpukit/libmisc: reformat capture
...
Fixes #5461 .
2026-02-05 09:32:36 -06:00
Gedare Bloom
1e5f1bcabe
cpukit/libi2c: reformat
...
Fixes #5451 .
2026-02-05 09:31:49 -06:00
Gedare Bloom
938915c1ad
cpukit/libblock: reformat style
...
Fixes #5445 .
2026-02-05 09:29:52 -06:00
Gedare Bloom
3b08664764
cpukit/ftpd: reformat
...
Closes #5444 .
2026-02-05 09:28:55 -06:00
Gedare Bloom
4f6f09f652
cpukit/libtest: reformat
...
Fixes #5454 .
2026-02-05 09:27:08 -06:00
Gedare Bloom
2447c09aba
cpukit/libgnat: reformat
...
Fixes #5450 .
2026-02-05 09:26:13 -06:00
Gedare Bloom
dcc57b9488
cpukit/crc: reformat
...
Closes #5442 .
2026-02-05 09:22:58 -06:00
Gedare Bloom
08677ca542
cpukit/crc: disable formatting around array table
...
Updates #5442 .
2026-02-05 09:22:58 -06:00
Kinsey Moore
0a61a188d2
cpukit/or1k: Resolve function cast warning
...
This constrains the function cast to a known safe cast in a single
function where the warning is disabled.
2026-02-05 09:19:53 -06:00
Gedare Bloom
f058d040e0
cpukit/libbtrace: reformat
...
Fixes #5455 .
2026-02-05 09:19:01 -06:00
Gedare Bloom
2948d1ed8f
cpukit/base64: reformat style
...
Closes #5441
2026-02-05 09:17:43 -06:00
Gedare Bloom
1dc4f6c4cb
cpukit/base64: disable formatting around array tables
...
Updates #5441
2026-02-05 09:17:43 -06:00
Gedare Bloom
983caf9a27
cpukit/mghttpd: Remove Monghoose header file
...
Looks like this was missed in a1c30b7f71
Updates #5304 .
2026-02-05 09:16:59 -06:00
Gedare Bloom
0603a5789e
cpukit/libdl: reformat to LLVM style
...
Fixes #5344 .
2026-02-05 08:50:43 -06:00