[U-Boot] [PATCH v2 3/3] arm: mach-stm32mp: Add newline to the MAC error message

Patrick DELAUNAY patrick.delaunay at st.com
Wed May 15 16:39:59 UTC 2019


Hi Manivannan,

> 
> 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 at linaro.org>


Reviewed-by: Patrick Delaunay <patrick.delaunay at st.com>

Thanks


> ---
>  arch/arm/mach-stm32mp/cpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c index
> 7b4431c9c75..e1a0a136809 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);
> --
> 2.17.1



More information about the U-Boot mailing list