diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-05 19:43:01 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-05 21:23:11 +0100 |
commit | f4eb1f261fddf48abf5b652732628cfef48e627f (patch) | |
tree | 960972c0aed24326d4cda80fb2246bae1e25176d /Kernel/Interrupts | |
parent | d44be968938ecf95023351a358c43c4957638d87 (diff) | |
download | serenity-f4eb1f261fddf48abf5b652732628cfef48e627f.zip |
Kernel: Add missing initializer for SharedIRQHandler::m_enabled
Found by KUBSAN :^)
Diffstat (limited to 'Kernel/Interrupts')
-rw-r--r-- | Kernel/Interrupts/SharedIRQHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Interrupts/SharedIRQHandler.h b/Kernel/Interrupts/SharedIRQHandler.h index d6605e430e..4d1867b0be 100644 --- a/Kernel/Interrupts/SharedIRQHandler.h +++ b/Kernel/Interrupts/SharedIRQHandler.h @@ -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; }; |