mirror-linux/tools/include/nolibc/sys
Thomas Weißschuh 2d8482959e tools/nolibc: avoid using plain integer as NULL pointer
While an integer zero is a valid NULL pointer as per the C standard,
sparse will complain about it.

Use explicit NULL pointers instead.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202509261452.g5peaXCc-lkp@intel.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
2025-11-09 21:29:57 +01:00
..
auxv.h tools/nolibc: add option to disable runtime 2025-10-29 16:29:16 +01:00
ioctl.h tools/nolibc: move ioctl() to sys/ioctl.h 2025-05-21 15:32:16 +02:00
mman.h tools/nolibc: remove outdated comment about __sysret() in mmap() 2025-10-29 16:29:12 +01:00
mount.h tools/nolibc: move mount() to sys/mount.h 2025-05-21 15:32:18 +02:00
prctl.h tools/nolibc: move prctl() to sys/prctl.h 2025-05-21 15:32:19 +02:00
random.h tools/nolibc: use tabs instead of spaces for indentation 2025-09-01 20:47:50 +02:00
reboot.h tools/nolibc: avoid using plain integer as NULL pointer 2025-11-09 21:29:57 +01:00
resource.h tools/nolibc: move getrlimit() and friends to sys/resource.h 2025-05-21 15:32:21 +02:00
select.h tools/nolibc: provide the portable sys/select.h 2025-11-02 13:36:19 +01:00
stat.h tools/nolibc: add more stat() variants 2025-05-21 15:32:02 +02:00
syscall.h tools/nolibc: include nolibc.h early from all header files 2025-05-21 15:31:50 +02:00
sysmacros.h tools/nolibc: move makedev() and friends to sys/sysmacros.h 2025-05-21 15:32:23 +02:00
time.h tools/nolibc: fall back to sys_clock_gettime() in gettimeofday() 2025-05-21 15:32:15 +02:00
timerfd.h tools/nolibc: remove __nolibc_enosys() fallback from time64-related functions 2025-09-01 20:47:51 +02:00
types.h tools/nolibc: add sys/types.h shim 2025-04-19 14:22:29 +02:00
uio.h tools/nolibc: add uio.h with readv and writev 2025-10-29 16:29:19 +01:00
utsname.h tools/nolibc: move uname() and friends to sys/utsname.h 2025-05-21 15:32:24 +02:00
wait.h tools/nolibc: handle NULL wstatus argument to waitpid() 2025-10-12 22:48:07 +02:00