summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts/SharedIRQHandler.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-05 19:43:01 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-05 21:23:11 +0100
commitf4eb1f261fddf48abf5b652732628cfef48e627f (patch)
tree960972c0aed24326d4cda80fb2246bae1e25176d /Kernel/Interrupts/SharedIRQHandler.h
parentd44be968938ecf95023351a358c43c4957638d87 (diff)
downloadserenity-f4eb1f261fddf48abf5b652732628cfef48e627f.zip
Kernel: Add missing initializer for SharedIRQHandler::m_enabled
Found by KUBSAN :^)
Diffstat (limited to 'Kernel/Interrupts/SharedIRQHandler.h')
-rw-r--r--Kernel/Interrupts/SharedIRQHandler.h2
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;
};