Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752324AbYJ1AXe (ORCPT ); Mon, 27 Oct 2008 20:23:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751781AbYJ1AXY (ORCPT ); Mon, 27 Oct 2008 20:23:24 -0400 Received: from 136-022.dsl.LABridge.com ([206.117.136.22]:1660 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbYJ1AXX (ORCPT ); Mon, 27 Oct 2008 20:23:23 -0400 Subject: Re: [RFC PATCHv3] printk: add %pM format specifier for MAC addresses From: Joe Perches To: Harvey Harrison Cc: David Miller , johannes@sipsolutions.net, anders@anduras.de, netdev@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org In-Reply-To: <1225152339.5526.1.camel@brick> References: <1225137542.5396.10.camel@brick> <20081027.154736.178482850.davem@davemloft.net> <1225149254.6339.4.camel@brick> <20081027.165556.30975206.davem@davemloft.net> <1225152339.5526.1.camel@brick> Content-Type: text/plain Date: Mon, 27 Oct 2008 17:22:39 -0700 Message-Id: <1225153359.5269.112.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.0-2mdv2009.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 910 Lines: 23 On Mon, 2008-10-27 at 17:05 -0700, Harvey Harrison wrote: > On Mon, 2008-10-27 at 16:55 -0700, David Miller wrote: > > I'm ok with the '#' modifier but remind me again what's wrong with > > using plain %p4 and %p6? > Nothing at all, just wanted to know what color bikeshed you wanted. > I'll go with %p4 %p6. Just an FYI for v6 addresses: There are a few uses of ipv6 address as "%08X%08X%08X%08X" Pavel Emelyanov tried to isolate them with a suggested patch: http://www.mail-archive.com/netdev@vger.kernel.org/msg51655.html These addresses are not shown in network order, but are printed backwards in host order. Oops. Apparently it's too late to fix them. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/