Kernel: Add missing initializer for SharedIRQHandler::m_enabled

Found by KUBSAN :^)
This commit is contained in:
Andreas Kling 2021-02-05 19:43:01 +01:00
parent d44be96893
commit f4eb1f261f
Notes: sideshowbarker 2024-07-18 22:34:46 +09:00

View file

@ -58,7 +58,7 @@ private:
void enable_interrupt_vector();
void disable_interrupt_vector();
explicit SharedIRQHandler(u8 interrupt_number);
bool m_enabled;
bool m_enabled { true };
HashTable<GenericInterruptHandler*> m_handlers;
RefPtr<IRQController> m_responsible_irq_controller;
};