diff options
author | Danny Kukawka <danny.kukawka@bisect.de> | 2012-02-24 04:45:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-24 21:40:59 +0100 |
commit | 66dc92eddf610d6f4572367f42902e62e19db7cb (patch) | |
tree | 5d56d48daea804b8d8099b913118c4f096b8c255 /Documentation | |
parent | amd/hplance.c: print MAC via printk format specifier (diff) | |
download | linux-66dc92eddf610d6f4572367f42902e62e19db7cb.tar.xz linux-66dc92eddf610d6f4572367f42902e62e19db7cb.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions