• Mauro Carvalho Chehab's avatar
    [media] s3c-camif: fix dma_addr_t printks · c0a566f3
    Mauro Carvalho Chehab authored
    drivers/media//platform/s3c-camif/camif-capture.c: In function ‘camif_prepare_addr’:
    include/linux/dynamic_debug.h:64:16: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t’ [-Wformat=]
      static struct _ddebug  __aligned(8)   \
                    ^
    include/linux/dynamic_debug.h:76:2: note: in expansion of macro ‘DEFINE_DYNAMIC_DEBUG_METADATA’
      DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
      ^
    include/linux/printk.h:266:2: note: in expansion of macro ‘dynamic_pr_debug’
      dynamic_pr_debug(fmt, ##__VA_ARGS__)
      ^
    drivers/media//platform/s3c-camif/camif-capture.c:283:2: note: in expansion of macro ‘pr_debug’
      pr_debug("DMA address: y: %#x  cb: %#x cr: %#x\n",
      ^
    include/linux/dynamic_debug.h:64:16: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘dma_addr_t’ [-Wformat=]
      static struct _ddebug  __aligned(8)   \
                    ^
    include/lin...
    c0a566f3
camif-regs.c 17.1 KB