[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1247734875-21447-1-git-send-email-klto@zhaw.ch>
Date: Thu, 16 Jul 2009 11:01:15 +0200
From: Tobias Klauser <klto@...w.ch>
To: linville@...driver.com, kalle.valo@...ia.com, me@...copeland.com,
netdev@...r.kernel.org
Cc: Tobias Klauser <klto@...w.ch>
Subject: [PATCH 8/8] wl12xx: Use %pM conversion specifier
Use the %pM conversion specifier for printk instead of print_mac.
Signed-off-by: Tobias Klauser <klto@...w.ch>
---
drivers/net/wireless/wl12xx/main.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 603d611..5962c4f 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -423,11 +423,10 @@ static int wl12xx_op_add_interface(struct ieee80211_hw *hw,
struct ieee80211_if_init_conf *conf)
{
struct wl12xx *wl = hw->priv;
- DECLARE_MAC_BUF(mac);
int ret = 0;
- wl12xx_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %s",
- conf->type, print_mac(mac, conf->mac_addr));
+ wl12xx_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %pM",
+ conf->type, conf->mac_addr);
mutex_lock(&wl->mutex);
--
1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists