Handle all possible values of minor and major numbers.
Signed-off-by: Thomas Weißschuh <linux@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: transform 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 | 19 +++++++++++++++----
tools/testing/selftests/nolibc/nolibc-test.c | 7 +++++++
4 files changed, 26 insertions(+), 11 deletions(-)
---
base-commit: e2f1b51feb2b21d3b9dd88a6ad7f5cf0cd27f3cf
change-id: 20260331-nolibc-makedev-a002250090bd
Best regards,
--
Thomas Weißschuh <linux@weissschuh.net>