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.ego...@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

Reply via email to