Skip to content

Commit aaf0657

Browse files
nmenonopsiff
authored andcommitted
net: ethernet: ti: am65-cpsw: Lower random mac address error print to info
[ Upstream commit 50980d8 ] 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 <nm@ti.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Roger Quadros <rogerq@kernel.org> Link: https://patch.msgid.link/20250516122655.442808-1-nm@ti.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit 106451492d74c01dc9e2c78fc7508228b68b1d05)
1 parent 1f09620 commit aaf0657

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@ static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common)
20952095
port->slave.mac_addr);
20962096
if (!is_valid_ether_addr(port->slave.mac_addr)) {
20972097
eth_random_addr(port->slave.mac_addr);
2098-
dev_err(dev, "Use random MAC address\n");
2098+
dev_info(dev, "Use random MAC address\n");
20992099
}
21002100
}
21012101
}

0 commit comments

Comments
 (0)