Skip to content

openposix: Fix 'no return in nonvoid function' warnings

Cyril Hrubis ltp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7openposix: pthread_rwlockattr_getpshared/2-1: Fixtestcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/2-1.c+18 -21 reply
2/7openposix: pthread_spin_init/{2-1,2-2}: Fixtestcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/2-1.c testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/2-2.c+36 -41 reply
3/7openposix: sem_destroy/3-1: Fixtestcases/open_posix_testsuite/conformance/interfaces/sem_destroy/3-1.c+22 -91 reply
4/7openposix: sem_timedwait/11-1: Fixtestcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/11-1.c+5 -42 replies
5/7openposix: aio_h/2-1: Add return at the end of main()testcases/open_posix_testsuite/conformance/definitions/aio_h/2-1.c+2 -01 reply
6/7openposix: mq_timedreceive: Silence warningtestcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/5-3.c+1 -01 reply
7/7opeposix: pthread_barrierattr_getpshared/2-1: Simplify codeflowtestcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/2-1.c+5 -63 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLi WangMartin DouchaRichard Palethorpe
SeriesR-b
1/7R-b
2/7R-b
3/7R-b
4/7R-b R-b
5/7R-b
6/7R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [LTP] [PATCH 0/7] openposix: Fix 'no return in nonvoid function' warnings

Fixes LTP compilation in build systems where the 'no return in nonvoid function' warning is treated as error. More than half of the cases were actually a buggy tests, which only shows that maybe treating this warning as an error makes sense.

Cyril Hrubis (7):
openposix: pthread_rwlockattr_getpshared/2-1: Fix
openposix: pthread_spin_init/{2-1,2-2}: Fix
openposix: sem_destroy/3-1: Fix
openposix: sem_timedwait/11-1: Fix
openposix: aio_h/2-1: Add return at the end of main()
openposix: mq_timedreceive: Silence warning
opeposix: pthread_barrierattr_getpshared/2-1: Simplify codeflow

 .../conformance/definitions/aio_h/2-1.c       |  2 ++
 .../interfaces/mq_timedreceive/5-3.c          |  1 +
 .../pthread_barrierattr_getpshared/2-1.c      | 11 +++----
 .../pthread_rwlockattr_getpshared/2-1.c       | 20 ++++++++++--
 .../interfaces/pthread_spin_init/2-1.c        | 20 ++++++++++--
 .../interfaces/pthread_spin_init/2-2.c        | 20 ++++++++++--
 .../conformance/interfaces/sem_destroy/3-1.c  | 31 +++++++++++++------
 .../interfaces/sem_timedwait/11-1.c           |  9 +++---
 8 files changed, 89 insertions(+), 25 deletions(-)
Signature · 5 lines
2.35.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp