From 146903a3b5d4b156facc61ed5f8fe453c2874ff1 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 17 Aug 2022 21:03:04 +0100 Subject: Kernel: Require semicolon after VERIFY_{NO_,}PROCESS_BIG_LOCK_ACQUIRED This matches out general macro use, and specifically other verification macros like VERIFY(), VERIFY_NOT_REACHED(), VERIFY_INTERRUPTS_ENABLED(), and VERIFY_INTERRUPTS_DISABLED(). --- Kernel/Syscalls/poll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Syscalls/poll.cpp') diff --git a/Kernel/Syscalls/poll.cpp b/Kernel/Syscalls/poll.cpp index 731540b0f5..68d963ef7b 100644 --- a/Kernel/Syscalls/poll.cpp +++ b/Kernel/Syscalls/poll.cpp @@ -16,7 +16,7 @@ using BlockFlags = Thread::FileBlocker::BlockFlags; ErrorOr Process::sys$poll(Userspace user_params) { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) + VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this); TRY(require_promise(Pledge::stdio)); auto params = TRY(copy_typed_from_user(user_params)); -- cgit v1.2.3