[media] ix2505v: use %*ph[N] to dump small buffers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 18 Dec 2012 01:10:48 +0000 (22:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 16:27:02 +0000 (14:27 -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/ix2505v.c

index bc5a82082aaae7891d55dd2cd3c6eabff93e9b84..0e3387e0095267b88e1517491be75601bf9f295b 100644 (file)
@@ -212,7 +212,7 @@ static int ix2505v_set_params(struct dvb_frontend *fe)
                lpf = 0xb;
 
        deb_info("Osc=%x b_w=%x lpf=%x\n", local_osc, b_w, lpf);
-       deb_info("Data 0=[%x%x%x%x]\n", data[0], data[1], data[2], data[3]);
+       deb_info("Data 0=[%4phN]\n", data);
 
        if (fe->ops.i2c_gate_ctrl)
                fe->ops.i2c_gate_ctrl(fe, 1);