mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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: [PATCH 07/10] staging: rt2870: use '%pM' format to print MAC address
Date: Sat, 11 Sep 2010 17:17:10 +0300	[thread overview]
Message-ID: <a28e5da012adbef9c31f433889767e6952d5ac11.1284214460.git.andy.shevchenko@gmail.com> (raw)
In-Reply-To: <735b00c1124fd4c2c68dfe9446ac05db9aa72fcd.1284214458.git.andy.shevchenko@gmail.com>
In-Reply-To: <735b00c1124fd4c2c68dfe9446ac05db9aa72fcd.1284214458.git.andy.shevchenko@gmail.com>

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
---
 drivers/staging/rt2870/common/rtusb_io.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/rt2870/common/rtusb_io.c b/drivers/staging/rt2870/common/rtusb_io.c
index 6b9ca24..eb01c8a 100644
--- a/drivers/staging/rt2870/common/rtusb_io.c
+++ b/drivers/staging/rt2870/common/rtusb_io.c
@@ -1879,13 +1879,10 @@ void CMDHandler(struct rt_rtmp_adapter *pAd)
 					AsicUpdateRxWCIDTable(pAd, pEntry->Aid,
 							      pEntry->Addr);
 					DBGPRINT(RT_DEBUG_TRACE,
-						 ("UpdateRxWCIDTable(): Aid=%d, Addr=%02x:%02x:%02x:%02x:%02x:%02x!\n",
-						  pEntry->Aid, pEntry->Addr[0],
-						  pEntry->Addr[1],
-						  pEntry->Addr[2],
-						  pEntry->Addr[3],
-						  pEntry->Addr[4],
-						  pEntry->Addr[5]));
+						("UpdateRxWCIDTable(): Aid=%d, "
+							"Addr=%pM!\n",
+							pEntry->Aid,
+							&pEntry->Addr[0]));
 				}
 				break;
 
-- 
1.7.2.2


  parent reply	other threads:[~2010-09-11 14:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11 14:17 [PATCH 01/10] staging: rt2860: change plain format of mac address to %pM in *printf() Andy Shevchenko
2010-09-11 14:17 ` [PATCH 02/10] staging: ath6kl: use '%pM' format to print MAC address Andy Shevchenko
2010-09-11 14:17 ` [PATCH 03/10] staging: brcm80211: " Andy Shevchenko
2010-09-11 14:17 ` [PATCH 04/10] staging: cxt1e1: use '%pMF' " Andy Shevchenko
2010-09-11 14:17 ` [PATCH 05/10] staging: octeon: use '%pM' " Andy Shevchenko
2010-09-11 14:17 ` [PATCH 06/10] staging: otus: " Andy Shevchenko
2010-09-11 14:17 ` Andy Shevchenko [this message]
2010-09-11 14:17 ` [PATCH 08/10] staging: rtl8712: " Andy Shevchenko
2010-09-11 14:17 ` [PATCH 09/10] staging: vt6655: " Andy Shevchenko
2010-09-11 14:17 ` [PATCH 10/10] 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=a28e5da012adbef9c31f433889767e6952d5ac11.1284214460.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®