diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-06 08:06:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-06 08:06:34 -0400 |
commit | 84b3bd462393133e5ba6949c32a26f46b5e9f93d (patch) | |
tree | 843a099d9999bbe3ded8dc03f3bf9c007600ec14 /drivers/media/video/m2m-deinterlace.c | |
parent | 8f0755c06b90a97e9e793cb474f216303cf88c2d (diff) |
[media] m2m-deinterlace: fix two warnings
drivers/media/video/m2m-deinterlace.c: In function ‘deinterlace_issue_dma’:
drivers/media/video/m2m-deinterlace.c:363:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘dma_addr_t’ [-Wformat]
drivers/media/video/m2m-deinterlace.c:363:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t’ [-Wformat]
Cc: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/m2m-deinterlace.c')
-rw-r--r-- | drivers/media/video/m2m-deinterlace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/m2m-deinterlace.c b/drivers/media/video/m2m-deinterlace.c index 11071679d5b2..a38c15201d1d 100644 --- a/drivers/media/video/m2m-deinterlace.c +++ b/drivers/media/video/m2m-deinterlace.c | |||
@@ -362,7 +362,8 @@ static void deinterlace_issue_dma(struct deinterlace_ctx *ctx, int op, | |||
362 | if (dma_submit_error(ctx->cookie)) { | 362 | if (dma_submit_error(ctx->cookie)) { |
363 | v4l2_warn(&pcdev->v4l2_dev, | 363 | v4l2_warn(&pcdev->v4l2_dev, |
364 | "DMA submit error %d with src=0x%x dst=0x%x len=0x%x\n", | 364 | "DMA submit error %d with src=0x%x dst=0x%x len=0x%x\n", |
365 | ctx->cookie, p_in, p_out, s_size * 3/2); | 365 | ctx->cookie, (unsigned)p_in, (unsigned)p_out, |
366 | s_size * 3/2); | ||
366 | return; | 367 | return; |
367 | } | 368 | } |
368 | 369 | ||