mirror of
https://github.com/apache/nuttx.git
synced 2026-09-30 19:06:22 +00:00
nxsem_init(), nxsem_destroy(), nxmutex_init(), nxmutex_destroy(), nxrmutex_init() and nxrmutex_destroy() cannot fail, so promising a negated errno value on failure documents an error that is never returned. The coding standard asks the returned value description to identify all error values of a function, and there are none, so state that OK is always returned. Follows "sched/semaphore: Remove the return value check of nxsem_init/nxmutex_init", which removed the last checks of these values. Assisted-by: DeepSeek Harness:deepseek-flash Signed-off-by: rongbaichuan <rongbaichuan1027@163.com> |
||
|---|---|---|
| .. | ||
| libbuiltin | ||
| libc | ||
| libdsp | ||
| libm | ||
| libnx | ||
| libxx | ||
| CMakeLists.txt | ||