aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-05-02 13:26:45 +0530
committerPatrice Chotard <patrice.chotard@st.com>2019-06-06 17:40:12 +0200
commitbc9487d4ab9e1c51365ba15cdf156ade9c060720 (patch)
tree0bd339bd9494f1d561635cd5cfca7f47cac29696
parent93ffa2ba8014ef9a54db267018f34878892566bc (diff)
downloadu-boot-bc9487d4ab9e1c51365ba15cdf156ade9c060720.zip
u-boot-bc9487d4ab9e1c51365ba15cdf156ade9c060720.tar.gz
u-boot-bc9487d4ab9e1c51365ba15cdf156ade9c060720.tar.bz2
arm: mach-stm32mp: Add newline to the MAC error message
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>
-rw-r--r--arch/arm/mach-stm32mp/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c
index 7b4431c..e1a0a13 100644
--- a/arch/arm/mach-stm32mp/cpu.c
+++ b/arch/arm/mach-stm32mp/cpu.c
@@ -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);