netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/2] wl12xx: switch to %pM to print the mac address
Date: Thu, 17 Sep 2009 02:22:51 +0100	[thread overview]
Message-ID: <1253150571.4989.33.camel@localhost> (raw)
In-Reply-To: <1253146059-4169-1-git-send-email-plagnioj@jcrosoft.com>

On Thu, 2009-09-17 at 02:07 +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>  drivers/net/wireless/wl12xx/wl1271_main.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
> index d9169b4..f6f8895 100644
> --- a/drivers/net/wireless/wl12xx/wl1271_main.c
> +++ b/drivers/net/wireless/wl12xx/wl1271_main.c
> @@ -644,11 +644,10 @@ static int wl1271_op_config_interface(struct ieee80211_hw *hw,
>  {
>  	struct wl1271 *wl = hw->priv;
>  	struct sk_buff *beacon;
> -	DECLARE_MAC_BUF(mac);
>  	int ret;
>  
>  	wl1271_debug(DEBUG_MAC80211, "mac80211 config_interface bssid %s",
> -		     print_mac(mac, conf->bssid));
> +		     printf("%pM", conf->bssid);
>  	wl1271_dump_ascii(DEBUG_MAC80211, "ssid: ", conf->ssid,
>  			  conf->ssid_len);
>  

That isn't even syntactically valid, let alone correct.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


  parent reply	other threads:[~2009-09-17  1:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17  0:07 [PATCH 1/2] wl12xx: switch to %pM to print the mac address Jean-Christophe PLAGNIOL-VILLARD
2009-09-17  0:07 ` [PATCH 2/2] net: remove print_mac as it's not anymore used Jean-Christophe PLAGNIOL-VILLARD
2009-09-17  3:51   ` David Miller
2009-09-17  3:54     ` David Miller
2009-09-17  5:48       ` Jean-Christophe PLAGNIOL-VILLARD
2009-09-17  6:02       ` Jean-Christophe PLAGNIOL-VILLARD
2009-09-17  6:09       ` Jean-Christophe PLAGNIOL-VILLARD
2009-09-17  0:28 ` [PATCH 1/2] wl12xx: switch to %pM to print the mac address John W. Linville
2009-09-17  3:51   ` David Miller
2009-09-17  1:22 ` Ben Hutchings [this message]
2009-09-17 12:55   ` John W. Linville
2009-09-17 14:42     ` Jean-Christophe PLAGNIOL-VILLARD
2009-09-17 17:19       ` David Miller
2009-09-17 17:31         ` Jean-Christophe PLAGNIOL-VILLARD
2009-09-17  6:15 ` [PATCH 1/2 v2] " Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1253150571.4989.33.camel@localhost \
    --to=bhutchings@solarflare.com \
    --cc=netdev@vger.kernel.org \
    --cc=plagnioj@jcrosoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).