Skip to content

Commit 0fadcc2

Browse files
nmenongregkh
authored andcommitted
net: ethernet: ti: am65-cpsw: Lower random mac address error print to info
[ Upstream commit 50980d8da71a0c2e045e85bba93c0099ab73a209 ] Using random mac address is not an error since the driver continues to function, it should be informative that the system has not assigned a MAC address. This is inline with other drivers such as ax88796c, dm9051 etc. Drop the error level to info level. Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 12fd7e6 commit 0fadcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/ti/am65-cpsw-nuss.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,7 @@ static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common)
19181918
port->slave.mac_addr);
19191919
if (!is_valid_ether_addr(port->slave.mac_addr)) {
19201920
eth_random_addr(port->slave.mac_addr);
1921-
dev_err(dev, "Use random MAC address\n");
1921+
dev_info(dev, "Use random MAC address\n");
19221922
}
19231923
}
19241924
}

0 commit comments

Comments
 (0)