From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Maciej W. Rozycki" Subject: Re: [PATCH] drivers/net/defxx.c: use %pM to show MAC address Date: Mon, 4 Jan 2010 18:49:48 +0000 (GMT) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, David Miller To: H Hartley Sweeten Return-path: Received: from localhost.localdomain ([127.0.0.1]:36492 "EHLO localhost.localdomain" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1493258Ab0ADSts (ORCPT + 1 other); Mon, 4 Jan 2010 19:49:48 +0100 In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, 30 Dec 2009, H Hartley Sweeten wrote: > Use the %pM kernel extension to display the MAC address. > > The only difference in the output is that the MAC address is > shown in the usual colon-separated hex notation. > > Signed-off-by: H Hartley Sweeten > Cc: David S. Miller Nack. While I appreciate your effort, the FDDI standard defines opposite bit-ordering for MAC addresses written in the dash-separated and the colon-separated hexadecimal notation, which makes your change invalid, sorry (you'd have to bit-swap them too and that would make addresses counter-intuitive). Please note that `ifconfig' consistently uses the dash-separated notation for FDDI interfaces too (I haven't checked other tools like those in the "iproute" package; they may be buggy). [I'd appreciate to be CCed on patch submissions to code I claim maintenance of too.] Maciej