Home
last modified time | relevance | path

Searched hist:"66 dc92eddf610d6f4572367f42902e62e19db7cb" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/cirrus/
H A Dmac89x0.cdiff 66dc92eddf610d6f4572367f42902e62e19db7cb Fri Feb 24 04:45:54 CET 2012 Danny Kukawka <danny.kukawka@bisect.de> 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>