diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-27 17:47:26 -0700 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-27 17:47:26 -0700 |
commit | ea995c822add678fd16748cc6b9d1f180ca3e801 (patch) | |
tree | d7ed57ca1f63613a08005d17898b1615a782e5d9 /linux/drivers/media/dvb/bt8xx/dst.c | |
parent | 6ccda240cb23a33beb59c38cf209db0ccfabc4e8 (diff) | |
download | mediapointer-dvb-s2-ea995c822add678fd16748cc6b9d1f180ca3e801.tar.gz mediapointer-dvb-s2-ea995c822add678fd16748cc6b9d1f180ca3e801.tar.bz2 |
backport commit 7c510e4b730a92cecf94ada45c989d8be0200d47
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Author: Johannes Berg <johannes@sipsolutions.net>
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.
kernel-sync:
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx/dst.c')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dst.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c index aa3db57d3..29e8f1546 100644 --- a/linux/drivers/media/dvb/bt8xx/dst.c +++ b/linux/drivers/media/dvb/bt8xx/dst.c @@ -917,9 +917,7 @@ static int dst_get_mac(struct dst_state *state) } memset(&state->mac_address, '\0', 8); memcpy(&state->mac_address, &state->rxbuffer, 6); - dprintk(verbose, DST_ERROR, 1, "MAC Address=[%02x:%02x:%02x:%02x:%02x:%02x]", - state->mac_address[0], state->mac_address[1], state->mac_address[2], - state->mac_address[4], state->mac_address[5], state->mac_address[6]); + dprintk(verbose, DST_ERROR, 1, "MAC Address=[%pM]", state->mac_address); return 0; } |