arm: mach-stm32mp: Add newline to the MAC error message
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 2 May 2019 07:56:45 +0000 (13:26 +0530)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 6 Jun 2019 15:40:12 +0000 (17:40 +0200)
Without newline, the error message appears for non prgrammed OTP boards
looks messsy. Hence add it to look more clean.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32mp/cpu.c

index 7b4431c9c75cf3035a6fc7d0bb189907f259ecfb..e1a0a136809c0aa9e9ef61f469ff6b60a54108da 100644 (file)
@@ -481,7 +481,7 @@ static int setup_mac_address(void)
                enetaddr[i] = ((uint8_t *)&otp)[i];
 
        if (!is_valid_ethaddr(enetaddr)) {
-               pr_err("invalid MAC address in OTP %pM", enetaddr);
+               pr_err("invalid MAC address in OTP %pM\n", enetaddr);
                return -EINVAL;
        }
        pr_debug("OTP MAC address = %pM\n", enetaddr);