Skip to content

Commit

Permalink
[media] m2m-deinterlace: fix two warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Aug 6, 2012
1 parent 8f0755c commit 84b3bd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/m2m-deinterlace.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ static void deinterlace_issue_dma(struct deinterlace_ctx *ctx, int op,
if (dma_submit_error(ctx->cookie)) {
v4l2_warn(&pcdev->v4l2_dev,
"DMA submit error %d with src=0x%x dst=0x%x len=0x%x\n",
ctx->cookie, p_in, p_out, s_size * 3/2);
ctx->cookie, (unsigned)p_in, (unsigned)p_out,
s_size * 3/2);
return;
}

Expand Down

0 comments on commit 84b3bd4

Please sign in to comment.