From: Tomasz Stanislawski Date: Fri, 9 Mar 2012 10:07:28 +0000 (-0300) Subject: [media] v4l: s5p-tv: mixer: fix compilation warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c31e3c4b1e70ff6bdf0cf415be15c399c4742def;p=linux-beck.git [media] v4l: s5p-tv: mixer: fix compilation warning This patch fixes compilation warning in debug message. The warning is caused by incorrect 'unsigned' to 'unsigned long' conversion in dev_dbg. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/s5p-tv/mixer_video.c b/drivers/media/video/s5p-tv/mixer_video.c index cc1e9b9b53ba..fa7feb53ffd7 100644 --- a/drivers/media/video/s5p-tv/mixer_video.c +++ b/drivers/media/video/s5p-tv/mixer_video.c @@ -854,7 +854,7 @@ static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, for (i = 0; i < fmt->num_subframes; ++i) { alloc_ctxs[i] = layer->mdev->alloc_ctx; sizes[i] = planes[i].sizeimage; - mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]); + mxr_dbg(mdev, "size[%d] = %08x\n", i, sizes[i]); } if (*nbuffers == 0)