Skip to contentSkip to conversation

aranym: convert print_mac to %pM

PATCH New Geert Uytterhoeven 1 participant 1 message Dec 23, 2009 m68k architecture

lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

PATCH 1/1 aranym: convert print_mac to %pM

Cfr. commit e174961ca1a0b28f7abf0be47973ad57cb74e5f0 ("net: convert print_mac to %pM")

---
 arch/m68k/emu/nfeth.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
arch/m68k/emu/nfeth.c +2 -3
index f55dfd3..8c41f6c 100644
@@ -212,7 +212,6 @@ struct net_device * __init nfeth_probe(int unit)
 	struct net_device *dev;
 	struct nfeth_private *priv;
 	char mac[ETH_ALEN], host_ip[32], local_ip[32];
-	DECLARE_MAC_BUF(macfmt);
 	int err;
 
 	if (!nf_call(nfEtherID + XIF_GET_MAC, unit, mac, ETH_ALEN))
@@ -242,8 +241,8 @@ struct net_device * __init nfeth_probe(int unit)
 	nf_call(nfEtherID + XIF_GET_IPATARI, unit,
 		local_ip, sizeof(local_ip));
 
-	pr_info("%s: nfeth addr:%s (%s) HWaddr:%s\n", dev->name, host_ip,
-		local_ip, print_mac(macfmt, mac));
+	pr_info("%s: nfeth addr:%s (%s) HWaddr:%pM\n", dev->name, host_ip,
+		local_ip, mac);
 
 	return dev;
 }
Signature · 12 lines
1.6.0.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds