mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:17:34 +00:00
Kernel: Zero initialize all members in NVMeController
Found by PVS-Studio.
This commit is contained in:
parent
199ea9ccf9
commit
47cdcc9f67
1 changed files with 3 additions and 3 deletions
|
@ -73,10 +73,10 @@ private:
|
||||||
NonnullRefPtrVector<NVMeNameSpace> m_namespaces;
|
NonnullRefPtrVector<NVMeNameSpace> m_namespaces;
|
||||||
Memory::TypedMapping<volatile ControllerRegister> m_controller_regs;
|
Memory::TypedMapping<volatile ControllerRegister> m_controller_regs;
|
||||||
bool m_admin_queue_ready { false };
|
bool m_admin_queue_ready { false };
|
||||||
size_t m_device_count {};
|
size_t m_device_count { 0 };
|
||||||
AK::Time m_ready_timeout;
|
AK::Time m_ready_timeout;
|
||||||
u32 m_bar;
|
u32 m_bar { 0 };
|
||||||
u8 m_dbl_stride;
|
u8 m_dbl_stride { 0 };
|
||||||
static Atomic<u8> controller_id;
|
static Atomic<u8> controller_id;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue