diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-08-07 17:43:03 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-13 21:37:30 +0200 |
commit | c6480cccdbaf1e9f3d1489c0530f011543cca90b (patch) | |
tree | d74252d8e60a5d7249a483f5d41fba6cc8cbc2b0 /drivers/media/common/tuners/tuner-xc2028.c | |
parent | [media] dvb: get rid of fe_ioctl_override callback (diff) | |
download | linux-c6480cccdbaf1e9f3d1489c0530f011543cca90b.tar.xz linux-c6480cccdbaf1e9f3d1489c0530f011543cca90b.zip |
[media] common: tunners: use %*ph to dump 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/common/tuners/tuner-xc2028.c')
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c index 49e63ec040b6..7bcb6b0ff1df 100644 --- a/drivers/media/common/tuners/tuner-xc2028.c +++ b/drivers/media/common/tuners/tuner-xc2028.c @@ -1126,8 +1126,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */, priv->frequency = freq; - tuner_dbg("divisor= %02x %02x %02x %02x (freq=%d.%03d)\n", - buf[0], buf[1], buf[2], buf[3], + tuner_dbg("divisor= %*ph (freq=%d.%03d)\n", 4, buf, freq / 1000000, (freq % 1000000) / 1000); rc = 0; |