This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit fb0e46660ae46a13f216b960c901059a0413c241
Author: chao an <[email protected]>
AuthorDate: Sun Aug 4 20:12:39 2024 +0800

    spinlock: fix typo of sched_note_spinlock_unlock()
    
    should be sched_note_spinlock_unlock() not sched_note_spinlock_unlocked()
    
    Signed-off-by: chao an <[email protected]>
---
 include/nuttx/spinlock.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nuttx/spinlock.h b/include/nuttx/spinlock.h
index 2e9103468b..dd5216430e 100644
--- a/include/nuttx/spinlock.h
+++ b/include/nuttx/spinlock.h
@@ -156,7 +156,7 @@ void sched_note_spinlock_unlock(FAR volatile spinlock_t 
*spinlock);
 #  define sched_note_spinlock_lock(spinlock)
 #  define sched_note_spinlock_locked(spinlock)
 #  define sched_note_spinlock_abort(spinlock)
-#  define sched_note_spinlock_unlocked(spinlock)
+#  define sched_note_spinlock_unlock(spinlock)
 #endif
 
 /****************************************************************************

Reply via email to