summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI/Controller
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-12-20 16:34:13 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-22 15:48:53 +0100
commitbed5961fc21ea499ede556d6269df29b8a7a9e15 (patch)
treec84c9050a0dbbd948f54cb0829d0b98d42cf3af2 /Kernel/Bus/PCI/Controller
parentc4e8509aacee087b05d9797ab013ac5b9020ea72 (diff)
downloadserenity-bed5961fc21ea499ede556d6269df29b8a7a9e15.zip
AK: Rename Bitmap::try_create() to ::create()
This is step 1 to removing `must_create()`.
Diffstat (limited to 'Kernel/Bus/PCI/Controller')
-rw-r--r--Kernel/Bus/PCI/Controller/HostController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/Controller/HostController.cpp b/Kernel/Bus/PCI/Controller/HostController.cpp
index 81754c2cc5..22cd93de5c 100644
--- a/Kernel/Bus/PCI/Controller/HostController.cpp
+++ b/Kernel/Bus/PCI/Controller/HostController.cpp
@@ -14,7 +14,7 @@ namespace Kernel::PCI {
HostController::HostController(PCI::Domain const& domain)
: m_domain(domain)
- , m_enumerated_buses(Bitmap::try_create(256, false).release_value_but_fixme_should_propagate_errors())
+ , m_enumerated_buses(Bitmap::create(256, false).release_value_but_fixme_should_propagate_errors())
{
}