Kernel: Don't fail PCI interrupt allocation with PCIe and no PCI

This commit is contained in:
Bananymous 2025-07-10 17:27:14 +03:00
parent c57f0abb56
commit 674e194a91
1 changed files with 4 additions and 1 deletions

View File

@ -636,7 +636,10 @@ namespace Kernel::PCI
for (const auto eisa_id : pci_root_bus_ids) for (const auto eisa_id : pci_root_bus_ids)
{ {
auto root_buses = TRY(acpi_namespace.find_device_with_eisa_id(eisa_id)); auto root_buses_or_error = acpi_namespace.find_device_with_eisa_id(eisa_id);
if (root_buses_or_error.is_error())
continue;
auto root_buses = root_buses_or_error.release_value();
for (const auto& root_bus : root_buses) for (const auto& root_bus : root_buses)
{ {