diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-08-07 17:43:08 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-13 21:39:33 +0200 |
commit | 090fdc17bc1a8c481c342be9bb1e32ccdeb32d80 (patch) | |
tree | a1911dfaed7197cb2efb131ae829d39c8a07c2b5 /drivers/media/dvb/bt8xx | |
parent | [media] gspca: use %*ph to print small buffers (diff) | |
download | linux-090fdc17bc1a8c481c342be9bb1e32ccdeb32d80.tar.xz linux-090fdc17bc1a8c481c342be9bb1e32ccdeb32d80.zip |
[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')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst_ca.c | 3 |
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 66f52f116b60..ee3884fbc9ce 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]; |