From: Danny Kukawka Date: Fri, 24 Feb 2012 03:45:54 +0000 (+0000) Subject: cirrus/mac89x0: print MAC via printk format specifier X-Git-Tag: v3.4-rc1~177^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66dc92eddf610d6f4572367f42902e62e19db7cb;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed