diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-27 20:47:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 20:47:26 -0400 |
commit | 7c510e4b730a92cecf94ada45c989d8be0200d47 (patch) | |
tree | 61f1926964c580946367588602a8eb039561f077 /drivers/media/dvb/bt8xx | |
parent | e174961ca1a0b28f7abf0be47973ad57cb74e5f0 (diff) |
net: convert more to %pM
A number of places still use %02x:...:%02x because it's
in debug statements or for no real reason. Make a few
of them use %pM.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/media/dvb/bt8xx')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c index aa3db57d32d9..29e8f1546ab6 100644 --- a/drivers/media/dvb/bt8xx/dst.c +++ b/drivers/media/dvb/bt8xx/dst.c | |||
@@ -917,9 +917,7 @@ static int dst_get_mac(struct dst_state *state) | |||
917 | } | 917 | } |
918 | memset(&state->mac_address, '\0', 8); | 918 | memset(&state->mac_address, '\0', 8); |
919 | memcpy(&state->mac_address, &state->rxbuffer, 6); | 919 | memcpy(&state->mac_address, &state->rxbuffer, 6); |
920 | dprintk(verbose, DST_ERROR, 1, "MAC Address=[%02x:%02x:%02x:%02x:%02x:%02x]", | 920 | dprintk(verbose, DST_ERROR, 1, "MAC Address=[%pM]", state->mac_address); |
921 | state->mac_address[0], state->mac_address[1], state->mac_address[2], | ||
922 | state->mac_address[4], state->mac_address[5], state->mac_address[6]); | ||
923 | 921 | ||
924 | return 0; | 922 | return 0; |
925 | } | 923 | } |