linux_dsm_epyc7002/drivers/net/ethernet/cirrus
Danny Kukawka 66dc92eddf cirrus/mac89x0: print MAC via printk format specifier
Print MAC/dev_addr via printk extended format specifier %pM instead
of custom code.

Use memcpy to set the address to dev->dev_addr in set_mac_address,
instead of mxing it up in a for loop with printing a debug msg.

Check also if the given address is valid.

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-24 15:40:59 -05:00
..
cs89x0.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:48:09 -05:00
cs89x0.h cs89x0: Move the driver into the Cirrus dir 2011-10-18 23:41:43 -04:00
ep93xx_eth.c net: replace random_ether_addr() with eth_hw_addr_random() 2012-02-15 15:34:16 -05:00
Kconfig net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00
mac89x0.c cirrus/mac89x0: print MAC via printk format specifier 2012-02-24 15:40:59 -05:00
Makefile net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00