[media] or51211: use %*ph[N] to dump small buffers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 18 Dec 2012 01:10:00 +0000 (22:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 16:26:28 +0000 (14:26 -0200)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/or51211.c

index c625b57..1af997e 100644 (file)
@@ -471,10 +471,7 @@ static int or51211_init(struct dvb_frontend* fe)
                          i--;
                        }
                }
-               dprintk("read_fwbits %x %x %x %x %x %x %x %x %x %x\n",
-                       rec_buf[0], rec_buf[1], rec_buf[2], rec_buf[3],
-                       rec_buf[4], rec_buf[5], rec_buf[6], rec_buf[7],
-                       rec_buf[8], rec_buf[9]);
+               dprintk("read_fwbits %10ph\n", rec_buf);
 
                printk(KERN_INFO "or51211: ver TU%02x%02x%02x VSB mode %02x"
                       " Status %02x\n",