xiaoxiang781216 commented on code in PR #10776: URL: https://github.com/apache/nuttx/pull/10776#discussion_r1359892358
########## sched/semaphore/spinlock.c: ########## @@ -521,7 +521,7 @@ void read_lock(FAR volatile rwlock_t *lock) bool read_trylock(FAR volatile rwlock_t *lock) { - rwlock_t old = atomic_load(lock); + int32_t old = atomic_load(lock); Review Comment: remove ########## sched/semaphore/spinlock.c: ########## @@ -596,7 +596,7 @@ void read_unlock(FAR volatile rwlock_t *lock) void write_lock(FAR volatile rwlock_t *lock) { - rwlock_t zero = RW_SP_UNLOCKED; + int32_t zero = RW_SP_UNLOCKED; Review Comment: all int32_t to int -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org