summaryrefslogtreecommitdiff
path: root/drivers/uwb/wlp
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2010-09-13 12:24:52 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 21:21:40 +0400
commitd3134c3b1a5d2a9dca2ddacacb5d08fad7941d8c (patch)
tree36ca383baf8dcd55eda8632ca1e0f09b0ba877f7 /drivers/uwb/wlp
parentecfa153ef616b901e86d9a051b329fcda7a6ce7b (diff)
downloadlinux-d3134c3b1a5d2a9dca2ddacacb5d08fad7941d8c.tar.xz
uwb: use '%pM' format to print MAC address
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: David Vrabel <david.vrabel@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/uwb/wlp')
-rw-r--r--drivers/uwb/wlp/wss-lc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/uwb/wlp/wss-lc.c b/drivers/uwb/wlp/wss-lc.c
index a005d2a03b5d..67872c83b679 100644
--- a/drivers/uwb/wlp/wss-lc.c
+++ b/drivers/uwb/wlp/wss-lc.c
@@ -791,11 +791,8 @@ int wlp_wss_prep_hdr(struct wlp *wlp, struct wlp_eda_node *eda_entry,
} else {
if (printk_ratelimit())
dev_err(dev, "WLP: Destination neighbor (Ethernet: "
- "%02x:%02x:%02x:%02x:%02x:%02x, Dev: "
- "%02x:%02x) is not connected. \n", eth_addr[0],
- eth_addr[1], eth_addr[2], eth_addr[3],
- eth_addr[4], eth_addr[5], dev_addr->data[1],
- dev_addr->data[0]);
+ "%pM, Dev: %02x:%02x) is not connected.\n",
+ eth_addr, dev_addr->data[1], dev_addr->data[0]);
result = -EINVAL;
}
return result;