nuttx/libs
fangxinyong a724a5f4f4 sched/cancelpt: Fix MISRA C 2012 Rule 10.4 violations
Fix violations of MISRA C:2012 Rule 10.4 (operand of unsigned and signed)
in cancellation point handling code.

Changed all CANCEL_FLAG_* macro definitions and their usage to use unsigned
literals (1u instead of 1) to ensure consistent unsigned arithmetic when
performing bitwise operations. This eliminates mixed signed/unsigned operand
violations in:

- CANCEL_FLAG_NONCANCELABLE
- CANCEL_FLAG_CANCEL_ASYNC
- CANCEL_FLAG_CANCEL_PENDING

The changes affect cancellation point entry/exit logic, cancellation state
management, and cancellation type handling across both kernel and libc
implementations.

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2026-02-02 21:09:40 +08:00
..
libbuiltin libs: remove not related comments from cmake files 2025-10-11 17:07:51 -04:00
libc sched/cancelpt: Fix MISRA C 2012 Rule 10.4 violations 2026-02-02 21:09:40 +08:00
libdsp style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
libm libm: fix warning maybe-uninitialized 2026-01-19 23:26:14 +08:00
libnx style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
libxx libstdc++: Relocate c++config.h from include/ to libstdc++ to preserve upstream integrity 2026-01-27 10:35:58 +08:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00