nuttx/arch/arm64/src
liang.huang 335aacbf1a arch/common: fix host_flags_to_mode() O_RDONLY sentinel collision
host_flags_to_mode() used a trailing 0 entry in modeflags[] as the
loop-termination sentinel. O_RDONLY is defined as 0 and is exactly
modeflags[1], so the loop's termination check fired before ever
comparing that entry, and a bare O_RDONLY open always fell through
to -EINVAL.

Bound the loop by array size (nitems()) instead of a value sentinel.

Signed-off-by: liang.huang <liang.huang@houmo.ai>
2026-08-03 20:58:21 +08:00
..
a64 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
a527 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
am62x arm64/am62x: add core boot and serial support 2026-05-28 22:21:38 +08:00
bcm2711 bcm2711/sdio: Moderate improvement to multi-block transfers 2026-08-03 20:57:47 +08:00
cmake cmake/elf: Fix ELF entry point from __start to _start 2026-06-11 03:23:04 +08:00
common arch/common: fix host_flags_to_mode() O_RDONLY sentinel collision 2026-08-03 20:58:21 +08:00
fvp-v8r include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
goldfish include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
imx8 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
imx9 !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
qemu include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
rk3399 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
zynq-mpsoc include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
.gitignore
CMakeLists.txt arch/arm64: migrate to SPDX identifier 2024-12-02 22:43:23 +08:00
Makefile arch/*/src/Makefile: Avoid uncessary relinking of the nuttx binary. 2026-05-18 09:33:58 +02:00
Toolchain.defs build/cmake: Add toolchain C++ library linking for all platforms. 2026-01-24 19:30:21 +08:00