From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
Andy Shevchenko <andy.shevchenko@gmail.com>
Subject: [PATCHv2 09/10] staging: vt6655: use '%pM' format to print MAC address
Date: Mon, 13 Sep 2010 11:40:33 +0300 [thread overview]
Message-ID: <0676e32cb45f36ea5cfdb9e5497532622ca37916.1284316740.git.andy.shevchenko@gmail.com> (raw)
In-Reply-To: <8ad2522ae82e753fcfa9fa9726d2a301e7b8b987.1284316733.git.andy.shevchenko@gmail.com>
In-Reply-To: <8ad2522ae82e753fcfa9fa9726d2a301e7b8b987.1284316733.git.andy.shevchenko@gmail.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
---
drivers/staging/vt6655/iwctl.c | 4 +---
drivers/staging/vt6655/vntwifi.c | 6 ++----
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c
index 4009c0b..92e3399 100644
--- a/drivers/staging/vt6655/iwctl.c
+++ b/drivers/staging/vt6655/iwctl.c
@@ -2018,9 +2018,7 @@ param->u.wpa_key.seq_len = seq_len;
#if 0
printk("param->u.wpa_key.alg_name =%d\n",param->u.wpa_key.alg_name);
-printk("param->addr=%02x:%02x:%02x:%02x:%02x:%02x\n",
- param->addr[0],param->addr[1],param->addr[2],
- param->addr[3],param->addr[4],param->addr[5]);
+printk(KERN_DEBUG "param->addr=%pM\n", param->addr);
printk("param->u.wpa_key.set_tx =%d\n",param->u.wpa_key.set_tx);
printk("param->u.wpa_key.key_index =%d\n",param->u.wpa_key.key_index);
printk("param->u.wpa_key.key_len =%d\n",param->u.wpa_key.key_len);
diff --git a/drivers/staging/vt6655/vntwifi.c b/drivers/staging/vt6655/vntwifi.c
index fcf26ab..0491d0b 100644
--- a/drivers/staging/vt6655/vntwifi.c
+++ b/drivers/staging/vt6655/vntwifi.c
@@ -565,10 +565,8 @@ VNTWIFIvGetTxRate(
wTxDataRate = (pMgmt->sNodeDBTable[0].wTxDataRate);
#ifdef PLICE_DEBUG
- printk("GetTxRate:AP MAC is %02x:%02x:%02x:%02x:%02x:%02x,TxRate is %d\n",
- pMgmt->sNodeDBTable[0].abyMACAddr[0],pMgmt->sNodeDBTable[0].abyMACAddr[1],
- pMgmt->sNodeDBTable[0].abyMACAddr[2],pMgmt->sNodeDBTable[0].abyMACAddr[3],
- pMgmt->sNodeDBTable[0].abyMACAddr[4],pMgmt->sNodeDBTable[0].abyMACAddr[5],wTxDataRate);
+ printk(KERN_DEBUG "GetTxRate:AP MAC is %pM,TxRate is %d\n",
+ pMgmt->sNodeDBTable[0].abyMACAddr, wTxDataRate);
#endif
--
1.7.2.2
next prev parent reply other threads:[~2010-09-13 8:41 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-13 8:40 [PATCHv2 01/10] staging: rt2860: change plain format of mac address to %pM in *printf() Andy Shevchenko
2010-09-13 8:40 ` [PATCHv2 02/10] staging: ath6kl: use '%pM' format to print MAC address Andy Shevchenko
2010-09-13 8:40 ` [PATCHv2 03/10] staging: brcm80211: " Andy Shevchenko
2010-09-13 8:40 ` [PATCHv2 04/10] staging: cxt1e1: use '%pMF' " Andy Shevchenko
2010-09-13 8:40 ` [PATCHv2 05/10] staging: octeon: use '%pM' " Andy Shevchenko
2010-09-13 8:40 ` [PATCHv2 06/10] staging: otus: " Andy Shevchenko
2010-09-13 8:40 ` [PATCHv2 07/10] staging: rt2870: " Andy Shevchenko
2010-09-13 8:40 ` [PATCHv2 08/10] staging: rtl8712: " Andy Shevchenko
2010-09-13 8:40 ` Andy Shevchenko [this message]
2010-09-13 8:40 ` [PATCHv2 10/10] staging: wlags49_h2: " Andy Shevchenko
2010-09-16 19:32 ` [PATCHv2 01/10] staging: rt2860: change plain format of mac address to %pM in *printf() Greg KH
2010-09-16 22:26 ` Andy Shevchenko
2010-09-16 22:45 ` Andy Shevchenko
2010-09-16 22:53 ` Greg KH
2010-09-17 8:24 ` [PATCH 1/9] staging: rt2860: '&pointer[0]' to 'pointer' fix Andy Shevchenko
2010-09-17 8:24 ` [PATCH 2/9] staging: ath6kl: " Andy Shevchenko
2010-09-17 8:24 ` [PATCH 3/9] staging: cxt1e1: " Andy Shevchenko
2010-09-17 8:24 ` [PATCH 4/9] staging: octeon: " Andy Shevchenko
2010-09-17 8:24 ` [PATCH 5/9] staging: otus: " Andy Shevchenko
2010-09-17 8:24 ` [PATCH 6/9] staging: rt2870: " Andy Shevchenko
2010-09-17 8:24 ` [PATCH 7/9] staging: rtl8712: " Andy Shevchenko
2010-09-17 8:24 ` [PATCH 8/9] staging: vt6655: " Andy Shevchenko
2010-09-17 8:24 ` [PATCH 9/9] staging: wlags49_h2: " Andy Shevchenko
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=0676e32cb45f36ea5cfdb9e5497532622ca37916.1284316740.git.andy.shevchenko@gmail.com \
--to=andy.shevchenko@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®