summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/bt8xx/dst_ca.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-08-07 12:43:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-13 16:39:33 -0300
commit090fdc17bc1a8c481c342be9bb1e32ccdeb32d80 (patch)
treea1911dfaed7197cb2efb131ae829d39c8a07c2b5 /drivers/media/dvb/bt8xx/dst_ca.c
parent70aa34569a7d99d5ea505421af07f335dcaabb73 (diff)
downloadop-kernel-dev-090fdc17bc1a8c481c342be9bb1e32ccdeb32d80.zip
op-kernel-dev-090fdc17bc1a8c481c342be9bb1e32ccdeb32d80.tar.gz
[media] dvb: use %*ph to hexdump small buffers
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/bt8xx/dst_ca.c')
-rw-r--r--drivers/media/dvb/bt8xx/dst_ca.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dst_ca.c b/drivers/media/dvb/bt8xx/dst_ca.c
index 66f52f1..ee3884f 100644
--- a/drivers/media/dvb/bt8xx/dst_ca.c
+++ b/drivers/media/dvb/bt8xx/dst_ca.c
@@ -321,7 +321,8 @@ static int ca_get_message(struct dst_state *state, struct ca_msg *p_ca_message,
return -EFAULT;
if (p_ca_message->msg) {
- dprintk(verbose, DST_CA_NOTICE, 1, " Message = [%02x %02x %02x]", p_ca_message->msg[0], p_ca_message->msg[1], p_ca_message->msg[2]);
+ dprintk(verbose, DST_CA_NOTICE, 1, " Message = [%*ph]",
+ 3, p_ca_message->msg);
for (i = 0; i < 3; i++) {
command = command | p_ca_message->msg[i];
OpenPOWER on IntegriCloud