From: "John W. Linville" <linville@tuxdriver.com>
To: Ben Hutchings <bhutchings@solarflare.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>,
netdev@vger.kernel.org
Subject: Re: [PATCH 1/2] wl12xx: switch to %pM to print the mac address
Date: Thu, 17 Sep 2009 08:55:21 -0400 [thread overview]
Message-ID: <20090917125521.GA2577@tuxdriver.com> (raw)
In-Reply-To: <1253150571.4989.33.camel@localhost>
On Thu, Sep 17, 2009 at 02:22:51AM +0100, Ben Hutchings wrote:
> 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.
Ugh, you're right -- remind me not to ACK things before bed...
Jean-Christophe posted a new patch that looked better, although it
probably needs to be rebased on this one since I think Dave applied
it after my (misguided) ACK.
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
next prev parent reply other threads:[~2009-09-17 13:00 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
2009-09-17 12:55 ` John W. Linville [this message]
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=20090917125521.GA2577@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=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).