Skip to content

Commit 50980d8

Browse files
nmenonkuba-moo
authored andcommitted
net: ethernet: ti: am65-cpsw: Lower random mac address error print to info
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>
1 parent 9e89db3 commit 50980d8

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
@@ -2685,7 +2685,7 @@ static int am65_cpsw_nuss_init_slave_ports(struct am65_cpsw_common *common)
26852685
port->slave.mac_addr);
26862686
if (!is_valid_ether_addr(port->slave.mac_addr)) {
26872687
eth_random_addr(port->slave.mac_addr);
2688-
dev_err(dev, "Use random MAC address\n");
2688+
dev_info(dev, "Use random MAC address\n");
26892689
}
26902690
}
26912691

0 commit comments

Comments
 (0)