public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] tools/nolibc: -std=c89 compatibility
@ 2023-04-06 21:54 Thomas Weißschuh
  2023-04-06 21:54 ` [PATCH v2 01/11] tools/nolibc: use standard __asm__ statements Thomas Weißschuh
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Thomas Weißschuh @ 2023-04-06 21:54 UTC (permalink / raw)
  To: Willy Tarreau, Shuah Khan
  Cc: linux-kernel, linux-kselftest, Thomas Weißschuh

This series replaces the C99 compatibility patch. (See v1 link below).
After the discussion about support C99 and/or GNU89 I came to the
conclusion supporting straight C89 is not very hard.

Instead of validating both C99 and GNU89 in some awkward way only for
somebody requesting true C89 support let's just do it this way.

Feel free to squash all the comment syntax patches together if you
prefer.

All changes in this series are cosmetic only.

To: Willy Tarreau <w@1wt.eu>
To: Shuah Khan <shuah@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

This series is based on the "dev" branch of the RCU tree.

---
Changes in v2:
- Target C89 instead of C99
- Link to v1: https://lore.kernel.org/r/20230328-nolibc-c99-v1-1-a8302fb19f19@weissschuh.net

---
Thomas Weißschuh (11):
      tools/nolibc: use standard __asm__ statements
      tools/nolibc: use __inline__ syntax
      tools/nolibc: i386: use C89 comment syntax
      tools/nolibc: x86_64: use C89 comment syntax
      tools/nolibc: riscv: use C89 comment syntax
      tools/nolibc: aarch64: use C89 comment syntax
      tools/nolibc: arm: use C89 comment syntax
      tools/nolibc: mips: use C89 comment syntax
      tools/nolibc: loongarch: use C89 comment syntax
      tools/nolibc: use C89 comment syntax
      tools/nolibc: validate C89 compatibility

 tools/include/nolibc/arch-aarch64.h          | 32 ++++++++--------
 tools/include/nolibc/arch-arm.h              | 42 ++++++++++-----------
 tools/include/nolibc/arch-i386.h             | 40 ++++++++++----------
 tools/include/nolibc/arch-loongarch.h        | 38 +++++++++----------
 tools/include/nolibc/arch-mips.h             | 56 ++++++++++++++--------------
 tools/include/nolibc/arch-riscv.h            | 40 ++++++++++----------
 tools/include/nolibc/arch-x86_64.h           | 34 ++++++++---------
 tools/include/nolibc/stackprotector.h        |  4 +-
 tools/include/nolibc/stdlib.h                | 18 ++++-----
 tools/include/nolibc/string.h                |  4 +-
 tools/include/nolibc/sys.h                   |  8 ++--
 tools/testing/selftests/nolibc/Makefile      |  2 +-
 tools/testing/selftests/nolibc/nolibc-test.c | 14 +++----
 13 files changed, 166 insertions(+), 166 deletions(-)
---
base-commit: bd5b341f0f69eb4c958ffd48699213c5b9af8145
change-id: 20230328-nolibc-c99-59f44ea45636

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-04-15 17:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-06 21:54 [PATCH v2 00/11] tools/nolibc: -std=c89 compatibility Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 01/11] tools/nolibc: use standard __asm__ statements Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 02/11] tools/nolibc: use __inline__ syntax Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 03/11] tools/nolibc: i386: use C89 comment syntax Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 04/11] tools/nolibc: x86_64: " Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 05/11] tools/nolibc: riscv: " Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 06/11] tools/nolibc: aarch64: " Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 07/11] tools/nolibc: arm: " Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 08/11] tools/nolibc: mips: " Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 09/11] tools/nolibc: loongarch: " Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 10/11] tools/nolibc: " Thomas Weißschuh
2023-04-06 21:54 ` [PATCH v2 11/11] tools/nolibc: validate C89 compatibility Thomas Weißschuh
2023-04-09  9:28 ` [PATCH v2 00/11] tools/nolibc: -std=c89 compatibility Willy Tarreau
2023-04-15 14:47   ` Willy Tarreau
2023-04-15 15:15     ` Thomas Weißschuh
2023-04-15 17:12       ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox