mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
Kernel: Zero initialize all members in NVMeController
Found by PVS-Studio.
This commit is contained in:
parent
199ea9ccf9
commit
47cdcc9f67
Notes:
sideshowbarker
2024-07-17 17:13:40 +09:00
Author: https://github.com/bgianfo
Commit: 47cdcc9f67
Pull-request: https://github.com/SerenityOS/serenity/pull/13042
Reviewed-by: https://github.com/IdanHo
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
Add a link
Reference in a new issue