Searched hist:"8 f3e49fad64e95470eb4a74cd4fc1442d07934f0" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | dt_driver.c | 8f3e49fad64e95470eb4a74cd4fc1442d07934f0 Wed Sep 06 12:41:56 UTC 2023 Gatien Chevallier <gatien.chevallier@foss.st.com> core: dt_driver: fix error handling in probe_dt_drivers()
When the dt_driver_probe_list is empty but the dt_driver_failed_list is not empty, meaning a probe has failed, and that there's no more probe to defer, the probe_dt_drivers() does not panic().
Fix and simplify the error handling to panic if a probe has failed.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|