[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1203080080.8931.190.camel@johannes.berg>
Date: Fri, 15 Feb 2008 13:54:40 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Bruno Randolf <bruno@...nktube.com>
Cc: netdev@...r.kernel.org, jgarzik@...ox.com,
linux-wireless@...r.kernel.org, linville@...driver.com
Subject: Re: [PATCH] add macro for printing mac addresses
On Fri, 2008-02-15 at 19:48 +0900, Bruno Randolf wrote:
> is there any chance to include a macro like this for printing mac addresses?
>
> its advantage is that it can be used without the need to declare buffers for
> print_mac(), for example:
>
> printk("mac address: " MAC_FMT, MAC_ADDR(addr));
you want print_mac()
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists