nuttx/sched/semaphore
rongbaichuan 9c461f03ac sched/semaphore: Correct the return value comment of nxsem_init/nxmutex_init
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>
2026-09-25 10:37:43 +02:00
..
CMakeLists.txt
Make.defs
sem_clockwait.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sem_destroy.c sched/semaphore: Correct the return value comment of nxsem_init/nxmutex_init 2026-09-25 10:37:43 +02:00
sem_holder.c nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr 2026-08-24 13:20:45 +08:00
sem_initialize.c
sem_post.c nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr 2026-08-24 13:20:45 +08:00
sem_protect.c
sem_recover.c nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr 2026-08-24 13:20:45 +08:00
sem_reset.c coverity: HIS_metric_violation(HIS_CALLS) 2026-01-27 20:54:55 +08:00
sem_rw.c sched/semaphore: Remove the return value check of nxsem_init/nxmutex_init 2026-09-25 10:37:43 +02:00
sem_setprotocol.c
sem_tickwait.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sem_timedwait.c
sem_timeout.c
sem_trywait.c nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr 2026-08-24 13:20:45 +08:00
sem_wait.c nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr 2026-08-24 13:20:45 +08:00
sem_waitirq.c nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr 2026-08-24 13:20:45 +08:00
semaphore.h sched/semaphore: remove dead code if no CONFIG_PRIORITY_PROTEC 2026-01-27 14:29:33 -03:00