1. 26 Aug, 2014 8 commits
    • Mauro Carvalho Chehab's avatar
      [media] ti-vpe: shut up a casting warning message · 14bb9b04
      Mauro Carvalho Chehab authored
         drivers/media/platform/ti-vpe/vpdma.c: In function 'vpdma_alloc_desc_buf':
      >> drivers/media/platform/ti-vpe/vpdma.c:332:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
           WARN_ON((u32) buf->addr & VPDMA_DESC_ALIGN);
                   ^
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      14bb9b04
    • Mauro Carvalho Chehab's avatar
      [media] ti-vpe: use %pad for dma address · 78e100cb
      Mauro Carvalho Chehab authored
         drivers/media/platform/ti-vpe/vpdma.c: In function 'dump_dtd':
         include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 3 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:263:2: note: in expansion of macro 'dynamic_pr_debug'
           dynamic_pr_debug(fmt, ##__VA_ARGS__)
           ^
      >> drivers/media/platform/ti-vpe/vpdma.c:587:2: note: in expansion of macro 'pr_debug'
           pr_debug("word2: start_addr = 0x%08x\n", dtd->start_addr);
           ^
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      78e100cb
    • Mauro Carvalho Chehab's avatar
      [media] gsc-m2m: Remove an unused var. · a6a63228
      Mauro Carvalho Chehab authored
      drivers/media/platform/exynos-gsc/gsc-m2m.c: In function 'gsc_m2m_reqbufs':
      drivers/media/platform/exynos-gsc/gsc-m2m.c:365:20: warning: variable 'frame' s
      et but not used [-Wunused-but-set-variable]
        struct gsc_frame *frame;
                          ^
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      a6a63228
    • Mauro Carvalho Chehab's avatar
      [media] gsc-core: Remove useless test · cff56213
      Mauro Carvalho Chehab authored
      drivers/media/platform/exynos-gsc/gsc-core.c: In function 'gsc_probe':
      drivers/media/platform/exynos-gsc/gsc-core.c:1089:2: warning: comparison is alw
      ays false due to limited range of data type [-Wtype-limits]
        if (gsc->id < 0 || gsc->id >= drv_data->num_entities) {
        ^
      
      gsc->id is declared as u16, so it should always be a positive
      value.
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      cff56213
    • Mauro Carvalho Chehab's avatar
      [media] dm355_ccdc: declare a function as static · 0448056c
      Mauro Carvalho Chehab authored
      drivers/media/platform/davinci/dm355_ccdc.c:463:5: warning: no previous prototy
      pe for 'ccdc_write_dfc_entry' [-Wmissing-prototypes]
       int ccdc_write_dfc_entry(int index, struct ccdc_vertical_dft *dfc)
           ^
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      0448056c
    • Mauro Carvalho Chehab's avatar
      [media] dm644x_ccdc: declare some functions as static · f17513c9
      Mauro Carvalho Chehab authored
      drivers/media/platform/davinci/dm644x_ccdc.c:133:6: warning: no previous protot
      ype for 'ccdc_setwin' [-Wmissing-prototypes]
       void ccdc_setwin(struct v4l2_rect *image_win,
            ^
      drivers/media/platform/davinci/dm644x_ccdc.c:373:6: warning: no previous protot
      ype for 'ccdc_config_ycbcr' [-Wmissing-prototypes]
       void ccdc_config_ycbcr(void)
            ^
      drivers/media/platform/davinci/dm644x_ccdc.c:526:6: warning: no previous protot
      ype for 'ccdc_config_raw' [-Wmissing-prototypes]
       void ccdc_config_raw(void)
            ^
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      f17513c9
    • Mauro Carvalho Chehab's avatar
      [media] vpif_capture: get rid of some unused vars · 24ab6338
      Mauro Carvalho Chehab authored
      drivers/media/platform/davinci/vpif_capture.c: In function 'vpif_channel_isr':
      drivers/media/platform/davinci/vpif_capture.c:376:18: warning: variable 'field'
       set but not used [-Wunused-but-set-variable]
        enum v4l2_field field;
                        ^
      drivers/media/platform/davinci/vpif_capture.c: In function 'vpif_calculate_offs
      ets':
      drivers/media/platform/davinci/vpif_capture.c:536:23: warning: variable 'vpitch
      ' set but not used [-Wunused-but-set-variable]
        unsigned int hpitch, vpitch, sizeimage;
                             ^
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      24ab6338
    • Mauro Carvalho Chehab's avatar
      [media] vpif_display: get rid of some unused vars · a4f20e2f
      Mauro Carvalho Chehab authored
      drivers/media/platform/davinci/vpif_display.c: In function 'vpif_channel_isr':
      drivers/media/platform/davinci/vpif_display.c:363:18: warning: variable 'field'
       set but not used [-Wunused-but-set-variable]
        enum v4l2_field field;
                        ^
      drivers/media/platform/davinci/vpif_display.c: In function 'vpif_calculate_offs
      ets':
      drivers/media/platform/davinci/vpif_display.c:505:23: warning: variable 'vpitch
      ' set but not used [-Wunused-but-set-variable]
        unsigned int hpitch, vpitch, sizeimage;
                             ^
      drivers/media/platform/davinci/vpif_display.c: In function 'vpif_set_output':
      drivers/media/platform/davinci/vpif_display.c:816:27: warning: variable 'subdev
      _info' set but not used [-Wunused-but-set-variable]
        struct vpif_subdev_info *subdev_info = NULL;
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      a4f20e2f
  2. 21 Aug, 2014 32 commits