Skip to content

Commit

Permalink
core: fix trace in add_node_to_probe()
Browse files Browse the repository at this point in the history
Fix trace format, drv_name and node_name are inverted.

Fixes: b3a88b5 ("core: dt_driver probe sequence")
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
  • Loading branch information
GseoC authored and jforissier committed Dec 13, 2023
1 parent 04f7f01 commit a5bf88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kernel/dt_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit a5bf88f

Please sign in to comment.