git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27fd49
)
cirrus/mac89x0: print MAC via printk format specifier
author
Danny Kukawka
<danny.kukawka@bisect.de>
Fri, 24 Feb 2012 03:45:54 +0000
(
03:45
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 24 Feb 2012 20:40:59 +0000
(15:40 -0500)
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>
No differences found