]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: phytec: common: Fix missing newline in error message
authorWadim Egorov <w.egorov@phytec.de>
Fri, 19 Sep 2025 06:39:48 +0000 (08:39 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 24 Sep 2025 13:50:13 +0000 (07:50 -0600)
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@phytec.de>
board/phytec/common/phytec_som_detection.c

index 4d7c9b9f80f6402efaac929b923490c755cf658b..136f4486eb0e5a7b3d783b80cea4f602cddbdd24 100644 (file)
@@ -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;
        };