aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2010-09-11 17:17:08 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-16 12:26:13 -0700
commitd225eef71c0dccdcbf31016820029d835a13b9e3 (patch)
tree692b63e518d86902c6c1b88c2765f58e6dd5e316 /drivers/staging/octeon/ethernet.c
parent28dc55bc9a6c1ab2a80ee2daa935be4598e0a6f6 (diff)
staging: octeon: use '%pM' format to print MAC address
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/octeon/ethernet.c')
-rw-r--r--drivers/staging/octeon/ethernet.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c
index e50a17d80707..9537ea4ae09d 100644
--- a/drivers/staging/octeon/ethernet.c
+++ b/drivers/staging/octeon/ethernet.c
@@ -465,10 +465,7 @@ int cvm_oct_common_init(struct net_device *dev)
if (cvm_oct_mac_addr_offset >= octeon_bootinfo->mac_addr_count)
printk(KERN_DEBUG "%s: Using MAC outside of the assigned range:"
- " %02x:%02x:%02x:%02x:%02x:%02x\n", dev->name,
- sa.sa_data[0] & 0xff, sa.sa_data[1] & 0xff,
- sa.sa_data[2] & 0xff, sa.sa_data[3] & 0xff,
- sa.sa_data[4] & 0xff, sa.sa_data[5] & 0xff);
+ " %pM\n", dev->name, &sa.sa_data[0]);
cvm_oct_mac_addr_offset++;
/*

Privacy Policy