[PATCH] Revert "test.h: Add pragma for gcc 12 warning"

2022-08-29 Thread Sebastian Huber
This reverts commit 9e2289785b7a12684d96c72e219523e2810f0f10. There is no issue with the T_flags_not_null() macro. The uninitialized use warnings must be fixed at the caller side of the macro. --- cpukit/include/rtems/test.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/cpukit/includ

Re: [rtems commit] schedulerpriority.h: Fix gcc 12 warning

2022-08-29 Thread Sebastian Huber
On 19/08/2022 22:46, Joel Sherrill wrote: Module:rtems Branch:master Commit:5b875915152a248079855bcb98e871f70ac314cc Changeset: http://git.rtems.org/rtems/commit/?id=5b875915152a248079855bcb98e871f70ac314cc Author:Ryan Long Date: Tue Aug 16 12:00:26 2022 -0500 schedulerpr

[PATCH] score: Do not expose to

2022-08-29 Thread Sebastian Huber
Update #4662. --- cpukit/include/rtems/score/interr.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpukit/include/rtems/score/interr.h b/cpukit/include/rtems/score/interr.h index 0616220040..ae4966d6d8 100644 --- a/cpukit/include/rtems/score/interr.h +++ b/cpukit/include

Re: [PATCH] score: Do not expose to

2022-08-29 Thread Chris Johns
Hi, Welcome back :) Could you please explain in the commit message the reason? It makes it easier for me or anyone else to understand the reasons. Thanks Chris On 29/8/22 5:11 pm, Sebastian Huber wrote: > Update #4662. > --- > cpukit/include/rtems/score/interr.h | 4 +--- > 1 file changed, 1

Re: [rtems commit] schedulerpriority.h: Fix gcc 12 warning

2022-08-29 Thread Chris Johns
On 29/8/22 5:07 pm, Sebastian Huber wrote: > On 19/08/2022 22:46, Joel Sherrill wrote: >> Module:    rtems >> Branch:    master >> Commit:    5b875915152a248079855bcb98e871f70ac314cc >> Changeset: >> http://git.rtems.org/rtems/commit/?id=5b875915152a248079855bcb98e871f70ac314cc >> >> Author:    Rya

Re: qoriq build of rtems-libbsd

2022-08-29 Thread Sebastian Huber
On 17/08/2022 23:01, Joel Sherrill wrote: Sorry. Forgot to update my libbsd tree and got the wrong error. It is this: /home/joel/rtems-work/tools/6/lib/gcc/powerpc-rtems6/12.1.1/../../../../powerpc-rtems6/bin/ld: ./libbsd.a(nfs_clbio.c.10.o): the target (_bsd_unmapped_buf) of a R_PPC_SDAREL16

Re: [rtems commit] schedulerpriority.h: Fix gcc 12 warning

2022-08-29 Thread Sebastian Huber
On 29/08/2022 09:30, Chris Johns wrote: On 29/8/22 5:07 pm, Sebastian Huber wrote: On 19/08/2022 22:46, Joel Sherrill wrote: Module:    rtems Branch:    master Commit:    5b875915152a248079855bcb98e871f70ac314cc Changeset: http://git.rtems.org/rtems/commit/?id=5b875915152a248079855bcb98e871f70a

[PATCH v2] score: Do not expose to

2022-08-29 Thread Sebastian Huber
The header file should not unnecessarily include standard C header files. The and header includes were removed in 2017. Update #4662. --- cpukit/include/rtems/score/interr.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpukit/include/rtems/score/interr.h b/cpukit/in

Re: [libbsd 00/22] Remove FreeBSD file descriptors and avoid VFS

2022-08-29 Thread Sebastian Huber
Hello Chris, On 25/07/2022 08:12, Sebastian Huber wrote: On 11/07/2022 15:04, Sebastian Huber wrote: On 24/06/2022 08:33, Sebastian Huber wrote: This patch set removes the FreeBSD file descriptors.  The VFS is no longer used if only the USB, SD/MMC, network, PCI, and NVMe support is used by t

Re: qoriq build of rtems-libbsd

2022-08-29 Thread Joel Sherrill
On Mon, Aug 29, 2022, 2:35 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 17/08/2022 23:01, Joel Sherrill wrote: > > Sorry. Forgot to update my libbsd tree and got the wrong error. It is > this: > > > > > /home/joel/rtems-work/tools/6/lib/gcc/powerpc-rtems6/12.1.1/../../../..

Re: qoriq build of rtems-libbsd

2022-08-29 Thread Sebastian Huber
On 29/08/2022 13:55, Joel Sherrill wrote: On Mon, Aug 29, 2022, 2:35 AM Sebastian Huber > wrote: On 17/08/2022 23:01, Joel Sherrill wrote: > Sorry. Forgot to update my libbsd tree and got the wrong error. It is this: > >

[PATCH rtems-lwip] lwipopts: Update for NTP

2022-08-29 Thread Kinsey Moore
The default ZynqMP configuration is missing some definitions required for NTP to function. This adjusts the default ZynqMP configuration to be compatible with the NTP library's requirements. --- rtemslwip/zynqmp/lwipopts.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rte

[PATCH rtems-lwip] lwip.py: Address python formatting issues

2022-08-29 Thread Kinsey Moore
--- lwip.py | 106 1 file changed, 61 insertions(+), 45 deletions(-) diff --git a/lwip.py b/lwip.py index f8d8eb0..2e12957 100644 --- a/lwip.py +++ b/lwip.py @@ -29,43 +29,50 @@ from rtems_waf import rtems import json import os + def r

Re: [rtems commit] schedulerpriority.h: Fix gcc 12 warning

2022-08-29 Thread Joel Sherrill
On Mon, Aug 29, 2022 at 2:41 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 29/08/2022 09:30, Chris Johns wrote: > > On 29/8/22 5:07 pm, Sebastian Huber wrote: > >> On 19/08/2022 22:46, Joel Sherrill wrote: > >>> Module:rtems > >>> Branch:master > >>> Commit:5b875

Re: [PATCH rtems-lwip] lwip.py: Address python formatting issues

2022-08-29 Thread Chris Johns
On 30/8/2022 4:30 am, Kinsey Moore wrote: > --- > lwip.py | 106 > 1 file changed, 61 insertions(+), 45 deletions(-) > > diff --git a/lwip.py b/lwip.py > index f8d8eb0..2e12957 100644 > --- a/lwip.py > +++ b/lwip.py > @@ -29,43 +29,50 @@ fr

Fwd: New Defects reported by Coverity Scan for RTEMS-Tools

2022-08-29 Thread Joel Sherrill
I don't think this is due to a recent addition. I just upgraded to a new version of the Coverity analysis tool. Does anyone see a fix for this? --joel -- Forwarded message - From: Date: Mon, Aug 29, 2022 at 5:14 PM Subject: New Defects reported by Coverity Scan for RTEMS-Tools To

Re: [rtems commit] schedulerpriority.h: Fix gcc 12 warning

2022-08-29 Thread Chris Johns
On 30/8/2022 6:39 am, Joel Sherrill wrote: > On Mon, Aug 29, 2022 at 2:41 AM Sebastian Huber > > > wrote: > > On 29/08/2022 09:30, Chris Johns wrote: > > On 29/8/22 5:07 pm, Sebastian Huber wrote: > >> On 19/08/2022 22:46, Joel Sherrill wrote

Re: [PATCH v2] score: Do not expose to

2022-08-29 Thread Chris Johns
Looks good and thanks Is this in the coding standard? Chris On 29/8/2022 6:25 pm, Sebastian Huber wrote: > The header file should not unnecessarily include standard C > header files. The and header includes were > removed in 2017. > > Update #4662. > --- > cpukit/include/rtems/score/interr

Fwd: New Defects reported by Coverity Scan for RTEMS

2022-08-29 Thread Joel Sherrill
Again.. issue lurking spotted by new version of Coverity Scan. Please look at it and fix. -- Forwarded message - From: Date: Mon, Aug 29, 2022 at 5:55 PM Subject: New Defects reported by Coverity Scan for RTEMS To: Hi, Please find the latest report on new defect(s) introduce

Fwd: Coverity Scan: Analysis completed for RTEMS

2022-08-29 Thread Joel Sherrill
Another report from the new version. :( -- Forwarded message - From: Date: Mon, Aug 29, 2022, 5:55 PM Subject: Coverity Scan: Analysis completed for RTEMS To: Your request for analysis of RTEMS has been completed successfully. The results are available at https://u1581

Re: New Defects reported by Coverity Scan for RTEMS

2022-08-29 Thread Sebastian Huber
On 30/08/2022 00:56, scan-ad...@coverity.com wrote: ** CID 1512552: High impact quality (Y2K38_SAFETY) /cpukit/score/src/kern_tc.c: 1804 in _Timecounter_Windup() *** CID 1512552: High imp

Re: [rtems commit] schedulerpriority.h: Fix gcc 12 warning

2022-08-29 Thread Sebastian Huber
On 30/08/2022 00:24, Chris Johns wrote: On 30/8/2022 6:39 am, Joel Sherrill wrote: On Mon, Aug 29, 2022 at 2:41 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: On 29/08/2022 09:30, Chris Johns wrote: > On 29/8/22 5:07 pm, Sebastian Huber wrote: >> On 19/08/2

[PATCH] libtest: Fix warnings without a pragma

2022-08-29 Thread Sebastian Huber
It seems that recent GCC versions expect that functions with "const type *" parameter will read from the referenced location. Update #4662. --- cpukit/include/rtems/test.h | 23 --- cpukit/libtest/t-test-checks.c| 12 ++-- testsuites/libtests/

[PATCH] Fix pedanic warnings without a storage increase

2022-08-29 Thread Sebastian Huber
Use RTEMS_ZERO_LENGTH_ARRAY for flexible array member. Update #4662. --- cpukit/include/rtems/confdefs/scheduler.h | 10 ++ cpukit/include/rtems/score/schedulerpriority.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/cpukit/include/rtems/confdefs/scheduler.h

[PATCH] validation: Ignore array bounds warnings

2022-08-29 Thread Sebastian Huber
Update #4702. --- testsuites/validation/tc-intr-get-affinity.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/testsuites/validation/tc-intr-get-affinity.c b/testsuites/validation/tc-intr-get-affinity.c index 277cb790a3..81f8da8ce2 100644 --- a/testsuites/validation/tc-intr-get-af