浏览代码

net: core: cosmetic: A MAC address is not limited to SROM

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 <oliver@schinagl.nl>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
oliver@schinagl.nl 8 年之前
父节点
当前提交
26d40b0a17
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/eth-uclass.c

+ 1 - 1
net/eth-uclass.c

@@ -500,7 +500,7 @@ static int eth_post_probe(struct udevice *dev)
 		    memcmp(pdata->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",
 			       pdata->enetaddr);
 			printf("Address in environment is  %pM\n",
 			       env_enetaddr);