From patchwork Thu Jul 16 09:01:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 29849 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id B48C6B708A for ; Thu, 16 Jul 2009 19:01:22 +1000 (EST) Received: by ozlabs.org (Postfix) id A8E09DDDB6; Thu, 16 Jul 2009 19:01:22 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 259E1DDDA2 for ; Thu, 16 Jul 2009 19:01:22 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754479AbZGPJBQ (ORCPT ); Thu, 16 Jul 2009 05:01:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754475AbZGPJBQ (ORCPT ); Thu, 16 Jul 2009 05:01:16 -0400 Received: from mx2.zhaw.ch ([160.85.104.51]:60281 "EHLO mx2.zhaw.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754388AbZGPJBP (ORCPT ); Thu, 16 Jul 2009 05:01:15 -0400 Received: from mx2.zhaw.ch (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 40D573D7; Thu, 16 Jul 2009 11:01:15 +0200 (CEST) Received: from localhost.localdomain (staff-klto-0.zhaw.ch [160.85.232.187]) by mx2.zhaw.ch (Postfix) with ESMTP id D3FA73D6; Thu, 16 Jul 2009 11:01:14 +0200 (CEST) From: Tobias Klauser To: linville@tuxdriver.com, kalle.valo@nokia.com, me@bobcopeland.com, netdev@vger.kernel.org Cc: Tobias Klauser Subject: [PATCH 8/8] wl12xx: Use %pM conversion specifier Date: Thu, 16 Jul 2009 11:01:15 +0200 Message-Id: <1247734875-21447-1-git-send-email-klto@zhaw.ch> X-Mailer: git-send-email 1.6.0.4 X-PMX-Version: 5.5.4.371499, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2009.7.16.84820 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_900_999 0, TO_NO_NAME 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0, __TO_MALFORMED_2 0' Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Use the %pM conversion specifier for printk instead of print_mac. Signed-off-by: Tobias Klauser --- 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);