diff options
author | Liav A <liavalb@gmail.com> | 2022-04-01 11:09:50 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-01 11:27:19 +0200 |
commit | 96aae59e9c58ddc9e143f7015011a6fa81976b31 (patch) | |
tree | 630d334d6d22efbade0a81a32385f8b6e8ce7591 /Kernel/Firmware/BIOS.h | |
parent | 979f89473b9424ee3ba96e556244fad128673da3 (diff) | |
download | serenity-96aae59e9c58ddc9e143f7015011a6fa81976b31.zip |
Kernel: Initialize primitive data members of SysFS BIOS classes
Diffstat (limited to 'Kernel/Firmware/BIOS.h')
-rw-r--r-- | Kernel/Firmware/BIOS.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Firmware/BIOS.h b/Kernel/Firmware/BIOS.h index 982d290cd3..43619be974 100644 --- a/Kernel/Firmware/BIOS.h +++ b/Kernel/Firmware/BIOS.h @@ -78,7 +78,7 @@ private: DMIEntryPointExposedBlob(PhysicalAddress dmi_entry_point, size_t blob_size); virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override; PhysicalAddress m_dmi_entry_point; - size_t m_dmi_entry_point_length; + size_t m_dmi_entry_point_length { 0 }; }; class SMBIOSExposedTable : public BIOSSysFSComponent { @@ -91,7 +91,7 @@ private: virtual ErrorOr<NonnullOwnPtr<KBuffer>> try_to_generate_buffer() const override; PhysicalAddress m_smbios_structure_table; - size_t m_smbios_structure_table_length; + size_t m_smbios_structure_table_length { 0 }; }; class BIOSSysFSDirectory : public SysFSDirectory { |