• Mauro Carvalho Chehab's avatar
    [media] s5p_mfc_opr: Fix warnings · f1a0c185
    Mauro Carvalho Chehab authored
      CC      drivers/media//platform/s5p-mfc/s5p_mfc_opr.o
    drivers/media//platform/s5p-mfc/s5p_mfc_opr.c: In function ‘s5p_mfc_alloc_priv_buf’:
    drivers/media//platform/s5p-mfc/s5p_mfc_opr.c:44:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
      mfc_debug(3, "Allocating priv: %d\n", b->size);
      ^
    drivers/media//platform/s5p-mfc/s5p_mfc_opr.c:53:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t’ [-Wformat=]
      mfc_debug(3, "Allocated addr %p %08x\n", b->virt, b->dma);
      ^
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    f1a0c185
s5p_mfc_opr.c 1.56 KB