diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp index 743dc9394d..c0460d6b14 100644 --- a/Kernel/Thread.cpp +++ b/Kernel/Thread.cpp @@ -1494,7 +1494,7 @@ void Thread::track_lock_release(LockRank rank) // This is validated by toggling the least significant bit of the mask, and // then bit wise or-ing the rank we are trying to release with the resulting // mask. If the rank we are releasing is truly the highest rank then the mask - // we get back will be equal to the current mask of stored on the thread. + // we get back will be equal to the current mask stored on the thread. auto rank_is_in_order = [](auto mask_enum, auto rank_enum) -> bool { auto mask = to_underlying(mask_enum); auto rank = to_underlying(rank_enum); diff --git a/Kernel/TimerQueue.cpp b/Kernel/TimerQueue.cpp index cd2d774438..3291f0db5d 100644 --- a/Kernel/TimerQueue.cpp +++ b/Kernel/TimerQueue.cpp @@ -62,7 +62,7 @@ bool TimerQueue::add_timer_without_id(NonnullRefPtr timer, clockid_t cloc // Because timer handlers can execute on any processor and there is // a race between executing a timer handler and cancel_timer() this - // *must* be a RefPtr. Otherwise calling cancel_timer() could + // *must* be a RefPtr. Otherwise, calling cancel_timer() could // inadvertently cancel another timer that has been created between // returning from the timer handler and a call to cancel_timer(). timer->setup(clock_id, deadline, move(callback));