diff --git a/kernel/kernel/Storage/ATA/AHCI/Controller.cpp b/kernel/kernel/Storage/ATA/AHCI/Controller.cpp index 3b81fa3d..c5f575c0 100644 --- a/kernel/kernel/Storage/ATA/AHCI/Controller.cpp +++ b/kernel/kernel/Storage/ATA/AHCI/Controller.cpp @@ -82,8 +82,10 @@ namespace Kernel { if (is & (1 << i)) { - ASSERT(m_devices[i]); - m_devices[i]->handle_irq(); + if (m_devices[i]) + m_devices[i]->handle_irq(); + else + dwarnln("ignoring interrupt to device {}", i); } }