[PATCH] POSIX inttypes Testsuite

2018-09-26 Thread Aditya Upadhyay
--- testsuites/psxtests/Makefile.am| 10 ++ testsuites/psxtests/configure.ac | 1 + testsuites/psxtests/psxinttypes01/init.c | 122 + .../psxtests/psxinttypes01/psxinttypes01.scn | 28 + 4 files changed, 161 insertio

Re: New Coverity Scan Results for RTEMS Available

2018-09-26 Thread Mingyu Li
I agree. It is a semantic issue. 2018-09-26 20:04 GMT+08:00 Sebastian Huber < sebastian.hu...@embedded-brains.de>: > On 26/09/2018 14:02, Sebastian Huber wrote: > >> void rtems_task_delete_self() RTEMS_NORETURN; >> > > Alternative would be > > void rtems_task_exit(void) RTEMS_NORETURN; > > > -- >

Re: New Coverity Scan Results for RTEMS Available

2018-09-26 Thread Joel Sherrill
On Wed, Sep 26, 2018 at 7:04 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 26/09/2018 14:02, Sebastian Huber wrote: > > void rtems_task_delete_self() RTEMS_NORETURN; > > Alternative would be > > void rtems_task_exit(void) RTEMS_NORETURN; > I don't want to change APIs to mak

Re: New Coverity Scan Results for RTEMS Available

2018-09-26 Thread Sebastian Huber
On 26/09/2018 14:02, Sebastian Huber wrote: void rtems_task_delete_self() RTEMS_NORETURN; Alternative would be void rtems_task_exit(void) RTEMS_NORETURN; -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89

Re: New Coverity Scan Results for RTEMS Available

2018-09-26 Thread Sebastian Huber
How can we teach Coverity that rtems_task_delete(RTEMS_SELF); is a function call which doesn't return? Maybe we should add a void rtems_task_delete_self() RTEMS_NORETURN; this would also help the compiler. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, G

Re: [PATCH 6/6] telnetd: Remove CONFIGURE_MAXIMUM_PTYS

2018-09-26 Thread Chris Johns
On 26/9/18 6:30 pm, Sebastian Huber wrote: > Add a rtems_telnetd_config_table::client_maximum member to the Telnet > configuration. > > Close #3528. > --- > cpukit/include/rtems/confdefs.h | 22 ++-- > cpukit/include/rtems/telnetd.h | 8 +++ > cpukit/telnetd/telnetd.c| 111 > +

Re: GR740-SMP BSP test results (gcc-7.2)

2018-09-26 Thread Chris Johns
> On 26 Sep 2018, at 6:44 pm, Sebastian Huber > wrote: > > Hello Daniel, > >> On 20/09/2018 08:59, Daniel Hellstrom wrote: >>> On 2018-09-20 07:32, Sebastian Huber wrote: >>> Hello Daniel, >>> >>> thanks for your status report. The RSB uses currently GCC 7.3.0 without >>> patches and the Newl

Re: GR740-SMP BSP test results (gcc-7.2)

2018-09-26 Thread Sebastian Huber
Hello Daniel, On 20/09/2018 08:59, Daniel Hellstrom wrote: On 2018-09-20 07:32, Sebastian Huber wrote: Hello Daniel, thanks for your status report. The RSB uses currently GCC 7.3.0 without patches and the Newlib commit d13c84eb07e35984bf7a974cd786a6cdac29e6b9. Thanks for the information, our

[PATCH 2/6] telnetd: Convert pty driver to new Termios API

2018-09-26 Thread Sebastian Huber
Update #3526. --- cpukit/include/rtems/pty.h | 71 ++- cpukit/telnetd/pty.c | 474 ++--- cpukit/telnetd/telnetd.c | 58 +++--- 3 files changed, 146 insertions(+), 457 deletions(-) diff --git a/cpukit/include/rtems/pty.h b/cpukit/include/rtems/

[PATCH 4/6] telnetd: Remove dead code

2018-09-26 Thread Sebastian Huber
--- cpukit/telnetd/telnetd.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index 3e5b87ca0b..86ed8b4090 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -396,13 +396,6 @@ spawned_shell(void *targ) stdout = ns

[PATCH 6/6] telnetd: Remove CONFIGURE_MAXIMUM_PTYS

2018-09-26 Thread Sebastian Huber
Add a rtems_telnetd_config_table::client_maximum member to the Telnet configuration. Close #3528. --- cpukit/include/rtems/confdefs.h | 22 ++-- cpukit/include/rtems/telnetd.h | 8 +++ cpukit/telnetd/telnetd.c| 111 +++- 3 files changed, 75 inse

[PATCH 1/6] pppd: Remove unused get_pty() function

2018-09-26 Thread Sebastian Huber
Update #3526. --- cpukit/pppd/pppd.h | 1 - cpukit/pppd/sys-rtems.c | 14 -- 2 files changed, 15 deletions(-) diff --git a/cpukit/pppd/pppd.h b/cpukit/pppd/pppd.h index 98c49e8f20..d1408a16a6 100644 --- a/cpukit/pppd/pppd.h +++ b/cpukit/pppd/pppd.h @@ -365,7 +365,6 @@ void sys_c

[PATCH 5/6] telnetd: Regroup includes

2018-09-26 Thread Sebastian Huber
--- cpukit/telnetd/telnetd.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index 86ed8b4090..1b0631e3a6 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -40,12 +40,6 @@ #include "config.h

[PATCH 3/6] telnetd: Remove superfluous global variable

2018-09-26 Thread Sebastian Huber
Update #3528. --- cpukit/telnetd/telnetd.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index a661eb0088..3e5b87ca0b 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -88,7 +88,6 @@ rt