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.stanisl...@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.p...@samsung.com>
---
 drivers/media/video/s5p-tv/mixer_video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/s5p-tv/mixer_video.c 
b/drivers/media/video/s5p-tv/mixer_video.c
index 30a1fd1..2c44a7f 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)
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to