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
..
2022-01-01 15:08:49 +01:00
2021-12-30 14:16:03 +01:00
2022-01-03 10:39:56 +02:00
2022-01-01 14:55:58 +01:00
2022-01-02 18:08:02 +01:00
2021-12-28 23:08:50 +01:00
2021-12-29 18:08:15 +01:00
2021-12-28 23:08:50 +01:00
2021-12-28 23:08:50 +01:00
2021-12-29 12:04:15 +01:00
2021-12-26 21:22:59 +01:00
2022-01-01 14:55:58 +01:00
2021-12-31 15:48:16 +01:00
2021-12-04 11:59:59 -08:00
2022-01-02 22:26:36 +01:00
2022-01-02 18:08:02 +01:00
2021-12-05 15:31:03 +01:00
2021-12-28 21:02:38 +01:00
2021-12-30 14:16:03 +01:00
2021-12-01 11:22:04 -08:00
2021-10-14 01:23:08 +01:00
2021-12-01 11:22:04 -08:00
2022-01-01 14:55:58 +01:00
2021-10-01 12:27:20 +02:00
2021-12-30 14:32:17 +01:00
2021-12-28 21:02:38 +01:00
2021-12-30 14:32:17 +01:00
2021-11-08 01:10:53 +01:00
2022-01-01 14:55:58 +01:00
2021-11-21 20:22:48 +01:00
2021-11-21 20:22:48 +01:00
2021-11-08 01:10:53 +01:00
2021-12-30 14:32:17 +01:00
2021-12-26 21:22:59 +01:00
2021-12-28 23:08:50 +01:00
2021-12-30 14:16:03 +01:00
2021-11-17 00:21:13 +01:00
2021-11-11 01:27:46 +01:00
2021-11-11 01:27:46 +01:00
2021-12-30 14:32:17 +01:00
2021-11-24 22:56:39 +01:00
2021-11-30 11:16:35 +01:00
2021-11-30 11:16:35 +01:00
2021-12-28 21:02:38 +01:00
2021-11-11 01:27:46 +01:00
2021-10-17 17:09:58 +01:00
2021-12-30 18:10:51 +01:00
2021-12-30 14:32:17 +01:00
2021-12-30 14:32:17 +01:00
2021-11-11 01:27:46 +01:00
2021-11-14 22:52:35 +01:00
2021-11-17 00:21:13 +01:00
2021-12-30 14:16:03 +01:00
2021-12-29 18:08:15 +01:00
2021-12-30 14:32:17 +01:00
2021-12-12 22:32:35 +01:00
2021-11-08 01:10:53 +01:00
2021-11-08 01:10:53 +01:00
2021-12-12 22:32:35 +01:00
2021-12-30 14:32:17 +01:00
2021-12-26 21:22:59 +01:00
2021-12-28 21:02:38 +01:00
2021-10-01 12:27:20 +02:00
2021-12-30 14:32:17 +01:00
2021-12-30 14:32:17 +01:00
2021-12-22 00:02:36 -08:00
2021-12-30 14:32:17 +01:00
2021-11-14 22:52:35 +01:00
2021-12-30 14:32:17 +01:00
2021-12-28 01:55:22 -08:00
2021-12-29 18:08:15 +01:00
2021-12-30 14:32:17 +01:00
2021-10-15 21:48:45 +01:00
2021-12-30 14:32:17 +01:00
2021-12-29 17:58:44 +01:00
2021-11-08 01:10:53 +01:00
2021-12-16 22:21:35 +03:30
2021-11-17 00:21:13 +01:00
2021-12-05 15:31:03 +01:00
2021-12-30 14:32:17 +01:00