From a5bf88f0ce67f9e2b03c02eb1151f49c3af2331b Mon Sep 17 00:00:00 2001 From: Gatien Chevallier Date: Fri, 17 Jun 2022 15:27:06 +0200 Subject: [PATCH] core: fix trace in add_node_to_probe() Fix trace format, drv_name and node_name are inverted. Fixes: b3a88b52a17c ("core: dt_driver probe sequence") Signed-off-by: Gatien Chevallier Reviewed-by: Etienne Carriere --- core/kernel/dt_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/kernel/dt_driver.c b/core/kernel/dt_driver.c index 48fc4fc12a7..fe31696337d 100644 --- a/core/kernel/dt_driver.c +++ b/core/kernel/dt_driver.c @@ -684,7 +684,7 @@ static TEE_Result add_node_to_probe(const void *fdt, int node, if (!elt) return TEE_ERROR_OUT_OF_MEMORY; - DMSG("element: %s on node %s", node_name, drv_name); + DMSG("element: %s on node %s", drv_name, node_name); memcpy(elt, &elt_new, sizeof(*elt));