diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-27 18:59:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 20:06:18 -0400 |
commit | e174961ca1a0b28f7abf0be47973ad57cb74e5f0 (patch) | |
tree | e8f74ecd420a0e380a71670e5aec5c2a0c15640a /drivers/net/hamradio | |
parent | 0c68ae2605dbcf67414d8d1f19af93be44b355fb (diff) |
net: convert print_mac to %pM
This converts pretty much everything to print_mac. There were
a few things that had conflicts which I have just dropped for
now, no harm done.
I've built an allyesconfig with this and looked at the files
that weren't built very carefully, but it's a huge patch.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio')
-rw-r--r-- | drivers/net/hamradio/bpqether.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 58f4b1d7bf1f..74529c832ad1 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
@@ -441,16 +441,15 @@ static int bpq_seq_show(struct seq_file *seq, void *v) | |||
441 | "dev ether destination accept from\n"); | 441 | "dev ether destination accept from\n"); |
442 | else { | 442 | else { |
443 | const struct bpqdev *bpqdev = v; | 443 | const struct bpqdev *bpqdev = v; |
444 | DECLARE_MAC_BUF(mac); | ||
445 | 444 | ||
446 | seq_printf(seq, "%-5s %-10s %s ", | 445 | seq_printf(seq, "%-5s %-10s %pM ", |
447 | bpqdev->axdev->name, bpqdev->ethdev->name, | 446 | bpqdev->axdev->name, bpqdev->ethdev->name, |
448 | print_mac(mac, bpqdev->dest_addr)); | 447 | bpqdev->dest_addr); |
449 | 448 | ||
450 | if (is_multicast_ether_addr(bpqdev->acpt_addr)) | 449 | if (is_multicast_ether_addr(bpqdev->acpt_addr)) |
451 | seq_printf(seq, "*\n"); | 450 | seq_printf(seq, "*\n"); |
452 | else | 451 | else |
453 | seq_printf(seq, "%s\n", print_mac(mac, bpqdev->acpt_addr)); | 452 | seq_printf(seq, "%pM\n", bpqdev->acpt_addr); |
454 | 453 | ||
455 | } | 454 | } |
456 | return 0; | 455 | return 0; |