mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/6] tools/nolibc: make dev_t 64 bits wide
@ 2026-04-04  8:08 Thomas Weißschuh
  2026-04-04  8:08 ` [PATCH v2 1/6] selftests/nolibc: add some tests for makedev() and friends Thomas Weißschuh
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Thomas Weißschuh @ 2026-04-04  8:08 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: linux-kernel, Thomas Weißschuh

Handle all possible values of minor and major numbers.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Stay compatible with applications expecting makedev(), major() or
  minor() to be macros.
- Link to v1: https://patch.msgid.link/20260331-nolibc-makedev-v1-0-ee79ee31e4d6@weissschuh.net

---
Thomas Weißschuh (6):
      selftests/nolibc: add some tests for makedev() and friends
      selftests/nolibc: add a test for stat().st_rdev
      tools/nolibc: move the logic of makedev() and friends into functions
      tools/nolibc: make dev_t 64 bits wide
      tools/nolibc: handle all major and minor numbers in makedev() and friends
      tools/nolibc: use makedev() in fstatat()

 tools/include/nolibc/std.h                   |  2 +-
 tools/include/nolibc/sys/stat.h              |  9 +++------
 tools/include/nolibc/sys/sysmacros.h         | 25 +++++++++++++++++++++----
 tools/testing/selftests/nolibc/nolibc-test.c |  7 +++++++
 4 files changed, 32 insertions(+), 11 deletions(-)
---
base-commit: 3b6f598c904f5f18506383ca279896d84a5d4f00
change-id: 20260331-nolibc-makedev-a002250090bd

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


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

end of thread, other threads:[~2026-04-04  8:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-04  8:08 [PATCH v2 0/6] tools/nolibc: make dev_t 64 bits wide Thomas Weißschuh
2026-04-04  8:08 ` [PATCH v2 1/6] selftests/nolibc: add some tests for makedev() and friends Thomas Weißschuh
2026-04-04  8:08 ` [PATCH v2 2/6] selftests/nolibc: add a test for stat().st_rdev Thomas Weißschuh
2026-04-04  8:08 ` [PATCH v2 3/6] tools/nolibc: move the logic of makedev() and friends into functions Thomas Weißschuh
2026-04-04  8:08 ` [PATCH v2 4/6] tools/nolibc: make dev_t 64 bits wide Thomas Weißschuh
2026-04-04  8:08 ` [PATCH v2 5/6] tools/nolibc: handle all major and minor numbers in makedev() and friends Thomas Weißschuh
2026-04-04  8:08 ` [PATCH v2 6/6] tools/nolibc: use makedev() in fstatat() Thomas Weißschuh
2026-04-04  8:26 ` [PATCH v2 0/6] tools/nolibc: make dev_t 64 bits wide Willy Tarreau

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

all inboxes | Powered by JetHome®