Richard Habeeb
3aba92c9dd
usb: xhci: Fix double free on failure
...
drivers/core/device.c will call `device_free()` after xhci_register
already frees the private device data. This can cause a crash later
during the boot process, observed on aarch64 RPi4b as a synchronous
exception. All callers of xhci_register use priv_auto, so this won't
lead to memory leaks.
Signed-off-by: Richard Habeeb <richard.habeeb@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-27 03:59:38 +02:00
..
2023-06-21 13:15:58 +02:00
2023-06-21 13:15:58 +02:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2022-06-28 17:11:48 -04:00
2022-10-10 18:08:18 +02:00
2023-02-07 14:33:50 -05:00
2022-11-07 07:46:28 +01:00
2022-10-10 18:08:18 +02:00
2022-12-23 10:14:51 -05:00
2023-07-21 02:05:10 +02:00
2022-06-28 17:03:30 -04:00
2022-09-26 01:49:36 +02:00
2022-02-23 05:25:17 +01:00
2022-10-10 18:08:18 +02:00
2023-05-06 17:28:18 +08:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2022-10-10 18:08:18 +02:00
2023-05-17 01:51:39 +02:00
2023-02-07 14:33:50 -05:00
2022-07-07 09:29:08 -04:00
2020-12-13 08:00:25 -07:00
2022-10-10 18:08:18 +02:00
2022-12-05 16:06:08 -05:00
2022-12-23 10:15:12 -05:00
2022-09-26 01:49:36 +02:00
2022-05-03 18:33:29 -04:00
2022-11-03 23:24:09 +01:00
2022-07-12 21:59:54 +02:00
2020-05-18 21:19:23 -04:00
2023-07-16 23:13:17 +08:00
2021-10-12 14:20:04 +02:00
2023-05-13 09:52:32 -04:00
2021-10-30 22:54:57 +02:00
2022-05-20 09:41:33 +02:00
2021-02-02 15:33:42 -05:00
2022-06-28 17:03:31 -04:00
2023-01-27 14:47:58 -05:00
2023-03-02 22:43:43 +01:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:18 -04:00
2022-05-03 18:33:29 -04:00
2021-09-30 09:08:16 -04:00
2020-12-13 16:51:09 -07:00
2023-01-27 14:47:58 -05:00
2023-07-27 03:59:38 +02:00