1. 01 10月, 2015 1 次提交
  2. 01 5月, 2015 1 次提交
  3. 28 4月, 2015 1 次提交
    • H
      [media] s3c-camif: fix compiler warnings · 7e0d4e92
      Hans Verkuil 提交于
      Fix these compiler warnings that appeared after switching to gcc-5.1.0:
      
      drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_power':
      drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!on == camif->sensor.power_count)
                ^
      drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_streaming':
      drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!on == camif->sensor.stream_count)
                ^
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Cc: Kamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7e0d4e92
  4. 24 3月, 2015 1 次提交
  5. 23 12月, 2014 1 次提交
  6. 15 11月, 2014 1 次提交
  7. 26 9月, 2014 1 次提交
    • M
      [media] s3c-camif: fix dma_addr_t printks · c0a566f3
      Mauro Carvalho Chehab 提交于
      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/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 7 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/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-regs.c:217:2: note: in expansion of macro ‘pr_debug’
        pr_debug("dst_buf[%d]: %#X, cb: %#X, cr: %#X\n",
        ^
      include/linux/dynamic_debug.h:64:16: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 7 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-regs.c:217:2: note: in expansion of macro ‘pr_debug’
        pr_debug("dst_buf[%d]: %#X, cb: %#X, cr: %#X\n",
        ^
      include/linux/dynamic_debug.h:64:16: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 8 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-regs.c:217:2: note: in expansion of macro ‘pr_debug’
        pr_debug("dst_buf[%d]: %#X, cb: %#X, cr: %#X\n",
        ^
      Acked-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      c0a566f3
  8. 22 7月, 2014 1 次提交
  9. 05 7月, 2014 1 次提交
  10. 23 4月, 2014 1 次提交
  11. 06 3月, 2014 1 次提交
  12. 04 2月, 2014 1 次提交
  13. 09 6月, 2013 1 次提交
  14. 06 3月, 2013 2 次提交
  15. 28 11月, 2012 1 次提交