From: Manivannan Sadhasivam Date: Thu, 2 May 2019 07:56:45 +0000 (+0530) Subject: arm: mach-stm32mp: Add newline to the MAC error message X-Git-Tag: v2019.07~35^2~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc9487d4ab9e1c51365ba15cdf156ade9c060720;p=oweals%2Fu-boot.git 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 Reviewed-by: Patrice Chotard --- diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c index 7b4431c9c7..e1a0a13680 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);