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/incubator-nuttx.git
commit 0896d0680b90015a772f62ca10884fb070ba81a3 Author: Xiang Xiao <[email protected]> AuthorDate: Sun Dec 19 02:29:58 2021 +0800 eventfd: Change mode_semaphore from uint8_t to bool Signed-off-by: Xiang Xiao <[email protected]> --- fs/vfs/fs_eventfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/vfs/fs_eventfd.c b/fs/vfs/fs_eventfd.c index 738544d..7465e9f 100644 --- a/fs/vfs/fs_eventfd.c +++ b/fs/vfs/fs_eventfd.c @@ -69,7 +69,7 @@ struct eventfd_priv_s eventfd_t counter; /* eventfd counter */ unsigned int minor; /* eventfd minor number */ uint8_t crefs; /* References counts on eventfd (max: 255) */ - uint8_t mode_semaphore; /* eventfd mode (semaphore or counter) */ + bool mode_semaphore; /* eventfd mode (semaphore or counter) */ /* The following is a list if poll structures of threads waiting for * driver events.
