[PATCH 2/2] board: phytec: common: Fix missing newline in error message
Wadim Egorov
w.egorov at phytec.de
Fri Sep 19 08:39:48 CEST 2025
The error message in phytec_get_product_name() was missing a newline,
causing log output to be concatenated with subsequent messages. Add
the newline to improve readability.
Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
---
board/phytec/common/phytec_som_detection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/phytec/common/phytec_som_detection.c b/board/phytec/common/phytec_som_detection.c
index 4d7c9b9f80f..136f4486eb0 100644
--- a/board/phytec/common/phytec_som_detection.c
+++ b/board/phytec/common/phytec_som_detection.c
@@ -309,7 +309,7 @@ static int phytec_get_product_name(struct phytec_eeprom_data *data,
som_type = 1;
break;
default:
- pr_err("%s: Invalid SOM type: %i", __func__, api2->som_type);
+ pr_err("%s: Invalid SOM type: %i\n", __func__, api2->som_type);
return -EINVAL;
};
--
2.48.1
More information about the U-Boot
mailing list