Kernel: Initialize primitive data members of SysFS BIOS classes

This commit is contained in:
Liav A 2022-04-01 11:09:50 +03:00 committed by Andreas Kling
parent 979f89473b
commit 96aae59e9c
Notes: sideshowbarker 2024-07-17 16:22:30 +09:00

View file

@ -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 {