ladybird/Kernel/Bus
Jesse Buhagiar af31253a16 Kernel: Use try_create not must_create in SysFSUSB::create
The function `KString::must_create()` can only be enforced
during early boot (that is, when `g_in_early_boot` is true), hence
the use of this function during runtime causes a `VERIFY` to assert,
leading to a Kernel Panic.
We should instead use `TRY()` along with `try_create()` to prevent
this from crashing whenever a USB device is inserted into the system,
and we don't have enough memory to allocate the device's KString.
2022-01-03 10:39:56 +02:00
..
PCI Kernel/NVMe: Add initial NVMe driver support 2022-01-01 14:55:58 +01:00
USB Kernel: Use try_create not must_create in SysFSUSB::create 2022-01-03 10:39:56 +02:00
VirtIO Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00