On Mon, May 15, 2017 at 10:02:30AM +0200, Olliver Schinagl wrote:
> Currently, we print that the MAC from the SROM does not match. It can be
> many forms of ROM, so lets drop the S.
> 
> Signed-off-by: Olliver Schinagl <[email protected]>
> ---
>  net/eth_legacy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/eth_legacy.c b/net/eth_legacy.c
> index 4276058800..800b91c327 100644
> --- a/net/eth_legacy.c
> +++ b/net/eth_legacy.c
> @@ -146,7 +146,7 @@ int eth_write_hwaddr(struct eth_device *dev, const char 
> *base_name,
>                   memcmp(dev->enetaddr, env_enetaddr, ARP_HLEN)) {
>                       printf("\nWarning: %s MAC addresses don't match:\n",
>                              dev->name);
> -                     printf("Address in SROM is         %pM\n",
> +                     printf("Address in ROM is         %pM\n",
>                              dev->enetaddr);
>                       printf("Address in environment is  %pM\n",
>                              env_enetaddr);

We need to add a space in the print then as the output is manually
aligned.

-- 
Tom

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to