From: Andy Shevchenko Date: Tue, 7 Aug 2012 15:43:10 +0000 (-0300) Subject: [media] saa7127: use %*ph to print small buffers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f28f75a6df713559e675fbfd21ab1f7fbe8a20f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] saa7127: use %*ph to print small buffers Signed-off-by: Andy Shevchenko Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c index 39c90b08eea8..8ecb6564a315 100644 --- a/drivers/media/video/saa7127.c +++ b/drivers/media/video/saa7127.c @@ -364,10 +364,7 @@ static int saa7127_set_vps(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_ state->vps_data[2] = data->data[9]; state->vps_data[3] = data->data[10]; state->vps_data[4] = data->data[11]; - v4l2_dbg(1, debug, sd, "Set VPS data %02x %02x %02x %02x %02x\n", - state->vps_data[0], state->vps_data[1], - state->vps_data[2], state->vps_data[3], - state->vps_data[4]); + v4l2_dbg(1, debug, sd, "Set VPS data %*ph\n", 5, state->vps_data); saa7127_write(sd, 0x55, state->vps_data[0]); saa7127_write(sd, 0x56, state->vps_data[1]); saa7127_write(sd, 0x57, state->vps_data[2]);