diff options
author | 2010-01-02 11:30:50 +0100 | |
---|---|---|
committer | 2010-03-03 16:42:36 -0800 | |
commit | b9b27e4ef6313449a6b40a21e0e9a1bdd9a1d8ce (patch) | |
tree | 0d2e1b9b1e7ae93cf0444e3e0bb5152cc939ec42 /drivers/staging/batman-adv/TODO | |
parent | Staging: batman-adv: Allow the MAC address to be set (diff) | |
download | linux-dev-b9b27e4ef6313449a6b40a21e0e9a1bdd9a1d8ce.tar.xz linux-dev-b9b27e4ef6313449a6b40a21e0e9a1bdd9a1d8ce.zip |
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 <andrew@lunn.ch>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/batman-adv/TODO')
-rw-r--r-- | drivers/staging/batman-adv/TODO | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/batman-adv/TODO b/drivers/staging/batman-adv/TODO index b1e369cf9870..2122adc6aa84 100644 --- a/drivers/staging/batman-adv/TODO +++ b/drivers/staging/batman-adv/TODO @@ -17,10 +17,6 @@ -> transtable_global (read-only) [outputs the global translation table] -> transtable_local (read-only) [outputs the local translation table] -=> logging -* make use of printk %pM support instead of converting mac addresses -* manually - => strip out all backward compatibility support to older kernels (only found in compat.h) |