mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05: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;
|
||||
Memory::TypedMapping<volatile ControllerRegister> m_controller_regs;
|
||||
bool m_admin_queue_ready { false };
|
||||
size_t m_device_count {};
|
||||
size_t m_device_count { 0 };
|
||||
AK::Time m_ready_timeout;
|
||||
u32 m_bar;
|
||||
u8 m_dbl_stride;
|
||||
u32 m_bar { 0 };
|
||||
u8 m_dbl_stride { 0 };
|
||||
static Atomic<u8> controller_id;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue