1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:37:44 +00:00

Everywhere: Fix more typos

This commit is contained in:
Luke 2020-12-31 00:44:53 +00:00 committed by Andreas Kling
parent 22250780ff
commit 0f66589007
9 changed files with 12 additions and 12 deletions

View file

@ -48,7 +48,7 @@ AsyncDeviceRequest::~AsyncDeviceRequest()
// At that point no sub-request should be adding more requests and all
// sub-requests should be completed (either succeeded, failed, or cancelled).
// Which means there should be no more pending sub-requests and the
// entire AsyncDeviceRequest hirarchy should be immutable.
// entire AsyncDeviceRequest hierarchy should be immutable.
for (auto& sub_request : m_sub_requests_complete) {
ASSERT(is_completed_result(sub_request.m_result)); // Shouldn't need any locking anymore
ASSERT(sub_request.m_parent_request == this);

View file

@ -74,7 +74,7 @@ void WaitQueue::wake_one()
void WaitQueue::wake_n(u32 wake_count)
{
if (wake_count == 0)
return; // should we assert instaed?
return; // should we assert instead?
ScopedSpinLock lock(m_lock);
#ifdef WAITQUEUE_DEBUG
dbg() << "WaitQueue @ " << this << ": wake_n(" << wake_count << ")";