WSL2-Linux-Kernel/tools/include/nolibc
Zhangjin Wu f62ec079d0 tools/nolibc: open: fix up compile warning for arm
In function ‘open’:
    nolibc/sysroot/arm/include/sys.h:919:23: warning: ‘mode_t’ {aka ‘short unsigned int’} is promoted to ‘int’ when passed through ‘...’
      919 |   mode = va_arg(args, mode_t);
          |                       ^
    nolibc/sysroot/arm/include/sys.h:919:23: note: (so you should pass ‘int’ not ‘mode_t’ {aka ‘short unsigned int’} to ‘va_arg’)
    nolibc/sysroot/arm/include/sys.h:919:23: note: if this code is reached, the program will abort

Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2023-06-09 11:46:10 -07:00
..
.gitignore
Makefile
arch-aarch64.h
arch-arm.h
arch-i386.h
arch-loongarch.h
arch-mips.h
arch-riscv.h
arch-s390.h
arch-x86_64.h
arch.h
compiler.h
ctype.h
errno.h
nolibc.h
signal.h
stackprotector.h
std.h
stdint.h
stdio.h
stdlib.h
string.h
sys.h
time.h
types.h
unistd.h