public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>,
	linux-m68k@lists.linux-m68k.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH] m68k: Atari EtherNAT - convert print_mac to %pM
Date: Wed, 23 Dec 2009 20:15:49 +0100	[thread overview]
Message-ID: <1261595749-23531-6-git-send-email-geert@linux-m68k.org> (raw)
In-Reply-To: <1261595749-23531-5-git-send-email-geert@linux-m68k.org>

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

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/net/atari_91C111.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/net/atari_91C111.c b/drivers/net/atari_91C111.c
index b579ead..0b92b94 100644
--- a/drivers/net/atari_91C111.c
+++ b/drivers/net/atari_91C111.c
@@ -1824,7 +1824,6 @@ static int __devinit smc_probe(struct net_device *dev, void __iomem *ioaddr,
 	int retval;
 	unsigned int val, revision_register;
 	const char *version_string;
-	DECLARE_MAC_BUF(mac);
 
 	DBG(2, "%s: %s\n", CARDNAME, __func__);
 
@@ -2016,12 +2015,12 @@ static int __devinit smc_probe(struct net_device *dev, void __iomem *ioaddr,
 			printk("%s: Invalid ethernet MAC address.  Please "
 			       "set using ifconfig\n", dev->name);
 			random_ether_addr(dev->dev_addr);
-			printk(KERN_INFO "%s: Ethernet addr set (random): %s\n",
-			       dev->name, print_mac(mac, dev->dev_addr));
+			printk(KERN_INFO "%s: Ethernet addr set (random): %pM\n",
+			       dev->name, dev->dev_addr);
 		} else {
 			/* Print the Ethernet address */
-			printk("%s: Ethernet addr: %s\n",
-			       dev->name, print_mac(mac, dev->dev_addr));
+			printk("%s: Ethernet addr: %pM\n",
+			       dev->name, dev->dev_addr);
 		}
 
 		if (lp->phy_type == 0) {
-- 
1.6.0.4

  reply	other threads:[~2009-12-23 19:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 19:15 [PATCH] m68k: Atari EtherNAT - use NETDEV_TX_OK instead of 0 in ndo_start_xmit() Geert Uytterhoeven
2009-12-23 19:15 ` [PATCH] m68k: Atari EtherNAT - restore MTU change operation Geert Uytterhoeven
2009-12-23 19:15   ` [PATCH] m68k: Atari EtherNAT - let smc91x work well under netpoll Geert Uytterhoeven
2009-12-23 19:15     ` [PATCH] m68k: Atari EtherNAT - fix compilation on SMP Geert Uytterhoeven
2009-12-23 19:15       ` [PATCH] m68k: Atari EtherNAT - Nicolas Pitre has a new email address Geert Uytterhoeven
2009-12-23 19:15         ` Geert Uytterhoeven [this message]
2010-01-04  3:49         ` Michael Schmitz
2010-01-04  7:27           ` Geert Uytterhoeven
2010-01-04  7:43             ` Geert Uytterhoeven
2010-01-07  2:08               ` Michael Schmitz
2010-01-07 17:19                 ` Geert Uytterhoeven
2010-01-08  1:15                   ` Michael Schmitz
2010-01-08  8:25                     ` Geert Uytterhoeven
2010-01-08 22:34                       ` Michael Schmitz
2010-01-10  4:56                         ` Michael Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1261595749-23531-6-git-send-email-geert@linux-m68k.org \
    --to=geert@linux-m68k.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=schmitz@biophys.uni-duesseldorf.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox