[PATCH] lib: optee: Add line ending to debug() outputs
Jan Kiszka
jan.kiszka at siemens.com
Mon Sep 15 15:41:46 CEST 2025
From: Jan Kiszka <jan.kiszka at siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---
lib/optee/optee.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/optee/optee.c b/lib/optee/optee.c
index 393f2715a9c..c643fd8fea0 100644
--- a/lib/optee/optee.c
+++ b/lib/optee/optee.c
@@ -87,7 +87,7 @@ static int optee_copy_firmware_node(ofnode node, void *fdt_blob)
/* copy the compatible property */
prop = ofnode_get_property(node, "compatible", &len);
if (!prop) {
- debug("missing OP-TEE compatible property");
+ debug("missing OP-TEE compatible property\n");
return -EINVAL;
}
@@ -98,7 +98,7 @@ static int optee_copy_firmware_node(ofnode node, void *fdt_blob)
/* copy the method property */
prop = ofnode_get_property(node, "method", &len);
if (!prop) {
- debug("missing OP-TEE method property");
+ debug("missing OP-TEE method property\n");
return -EINVAL;
}
@@ -121,7 +121,7 @@ int optee_copy_fdt_nodes(void *new_blob)
/* only proceed if there is an /firmware/optee node */
node = ofnode_path("/firmware/optee");
if (!ofnode_valid(node)) {
- debug("No OP-TEE firmware node in old fdt, nothing to do");
+ debug("No OP-TEE firmware node in old fdt, nothing to do\n");
return 0;
}
@@ -131,7 +131,7 @@ int optee_copy_fdt_nodes(void *new_blob)
* so do not interfere.
*/
if (fdt_path_offset(new_blob, "/firmware/optee") >= 0) {
- debug("OP-TEE Device Tree node already exists in target");
+ debug("OP-TEE Device Tree node already exists in target\n");
return 0;
}
--
2.51.0
More information about the U-Boot
mailing list