OSDN Git Service

[media] v4l: s5p-tv: mixer: fix compilation warning
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Fri, 9 Mar 2012 10:07:28 +0000 (07:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 12:00:37 +0000 (09:00 -0300)
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 <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-tv/mixer_video.c

index cc1e9b9..fa7feb5 100644 (file)
@@ -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)