Re: [PATCH 1/2] staging: vt6655: simplify MAC printing by using%pMF
From: Joe Perches
Date: Thu Jul 21 2011 - 10:24:23 EST
On Thu, 2011-07-21 at 15:42 +0300, Andy Shevchenko wrote:
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> drivers/staging/vt6655/device_main.c | 10 +-----
> drivers/staging/vt6655/dpc.c | 30 ++++----------------
> drivers/staging/vt6655/wmgr.c | 49 +++++++---------------------------
[ patches like ]
> + DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Probe request rx:MAC addr:%pMF\n",
> + sFrame.pHdr->sA3.abyAddr2);
Please use %pM here and in [2/2] as well.
%pMF should be used only for FDDI.
It looks as if this was someones idea to separate
the OUI out of the mac address.
--
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/