[PATCH] add macro for printing mac addresses

2008-02-15 Thread Bruno Randolf
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)); Signed-off-by: Bruno Randolf [EMAIL PROTECTED] ---

Re: [PATCH] add macro for printing mac addresses

2008-02-15 Thread David Miller
From: Bruno Randolf [EMAIL PROTECTED] Date: Fri, 15 Feb 2008 19:48:05 +0900 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,

Re: [PATCH] add macro for printing mac addresses

2008-02-15 Thread Johannes Berg
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