Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Nishanth Menon and committed by
Jakub Kicinski
50980d8d 9e89db3d

+1 -1
+1 -1
drivers/net/ethernet/ti/am65-cpsw-nuss.c
··· 2685 2685 port->slave.mac_addr); 2686 2686 if (!is_valid_ether_addr(port->slave.mac_addr)) { 2687 2687 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"); 2689 2689 } 2690 2690 } 2691 2691