diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-10 18:53:26 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-11 17:49:46 +0200 |
commit | 871a53db760a975a6aa3510b1a5b355152eaa2ef (patch) | |
tree | 3983ff3aca3816ceff3fafae2bf8a94ed07a78fc /Kernel/Bus | |
parent | 1667a80ade44d1751d3c4e664c9aab825848465e (diff) | |
download | serenity-871a53db760a975a6aa3510b1a5b355152eaa2ef.zip |
AK: Make Bitmap construction OOM-fallible
Diffstat (limited to 'Kernel/Bus')
-rw-r--r-- | Kernel/Bus/PCI/Controller/HostBridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/Controller/HostBridge.cpp b/Kernel/Bus/PCI/Controller/HostBridge.cpp index 1803637293..20406414cf 100644 --- a/Kernel/Bus/PCI/Controller/HostBridge.cpp +++ b/Kernel/Bus/PCI/Controller/HostBridge.cpp @@ -19,7 +19,7 @@ NonnullOwnPtr<HostBridge> HostBridge::must_create_with_io_access() HostBridge::HostBridge(PCI::Domain const& domain) : HostController(domain) - , m_enumerated_buses(256, false) + , m_enumerated_buses(Bitmap::try_create(256, false).release_value_but_fixme_should_propagate_errors()) { } |