From: Andrew Lunn Date: Sat, 2 Jan 2010 10:30:50 +0000 (+0100) Subject: Staging: batman-adv: Use printk(%pM) for MAC addresses X-Git-Tag: v2.6.34-rc1~10^2~1^2~265 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b27e4ef6313449a6b40a21e0e9a1bdd9a1d8ce;p=pandora-kernel.git Staging: batman-adv: Use printk(%pM) for MAC addresses printk() since kernel version 2.6.29 has supported printing MAC addresses directly, as an extension to the %p processing. This patch makes use of this for printk() and bat_dbg(). This will remove the overhead of using addr_to_string() which is normally never actually output. Fixed a typo found by Gus Wirth. Signed-off-by: Andrew Lunn Signed-off-by: Simon Wunderlich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed