[PATCHv2 07/10] staging: rt2870: use '%pM' format to print MAC address

From: Andy Shevchenko
Date: Mon Sep 13 2010 - 04:42:07 EST


Signed-off-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
---
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..7d2f7e0 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));
}
break;

--
1.7.2.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/