1. 18 12月, 2015 2 次提交
  2. 17 11月, 2015 1 次提交
    • M
      [media] include/media: move driver interface headers to a separate dir · d647f0b7
      Mauro Carvalho Chehab 提交于
      Let's not mix headers used by the core with those headers that
      are needed by some driver-specific interface header.
      
      The headers used on drivers were manually moved using:
          mkdir include/media/drv-intf/
          git mv include/media/cx2341x.h include/media/cx25840.h \
      	include/media/exynos-fimc.h include/media/msp3400.h \
      	include/media/s3c_camif.h include/media/saa7146.h \
      	include/media/saa7146_vv.h  include/media/sh_mobile_ceu.h \
      	include/media/sh_mobile_csi2.h include/media/sh_vou.h \
      	include/media/si476x.h include/media/soc_mediabus.h \
      	include/media/tea575x.h include/media/drv-intf/
      
      And the references for those headers were corrected using:
      
          MAIN_DIR="media/"
          PREV_DIR="media/"
          DIRS="drv-intf/"
      
          echo "Checking affected files" >&2
          for i in $DIRS; do
      	for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
      		 n=`basename $j`
      		git grep -l $n
      	done
          done|sort|uniq >files && (
      	echo "Handling files..." >&2;
      	echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "perl -ne 's,(include [\\\"\\<])$PREV_DIR($i)([\\\"\\>]),\1$MAIN_DIR$j\2\3,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done";
      	);
      	echo "Handling documentation..." >&2;
      	echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "  perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done"
      	);
          ) >script && . ./script
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      d647f0b7
  3. 21 10月, 2015 1 次提交
  4. 02 10月, 2015 1 次提交
  5. 01 10月, 2015 4 次提交
  6. 07 8月, 2015 1 次提交
  7. 14 5月, 2015 1 次提交
  8. 12 5月, 2015 1 次提交
  9. 24 3月, 2015 1 次提交
  10. 05 12月, 2014 1 次提交
  11. 25 11月, 2014 2 次提交
  12. 15 11月, 2014 1 次提交
  13. 24 10月, 2014 2 次提交
  14. 20 10月, 2014 1 次提交
  15. 26 9月, 2014 1 次提交
    • M
      [media] exynos4-is: fix some warnings when compiling on arm64 · 7d4020c3
      Mauro Carvalho Chehab 提交于
      Got those warnings when compiling with gcc 4.9.1 for arm64:
      
      drivers/media/platform/exynos4-is/fimc-isp-video.c: In function ‘isp_video_capture_buffer_queue’:
      drivers/media/platform/exynos4-is/fimc-isp-video.c:221:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘dma_addr_t’ [-Wformat=]
          isp_dbg(2, &video->ve.vdev,
          ^
      drivers/media/platform/exynos4-is/fimc-is.c: In function ‘fimc_is_load_firmware’:
      drivers/media/platform/exynos4-is/fimc-is.c:391:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
         dev_err(dev, "wrong firmware size: %d\n", fw->size);
         ^
      In file included from include/linux/printk.h:260:0,
                       from include/linux/kernel.h:13,
                       from include/linux/kernfs.h:10,
                       from include/linux/sysfs.h:15,
                       from include/linux/kobject.h:21,
                       from include/linux/device.h:17,
                       from drivers/media/platform/exynos4-is/fimc-is.c:15:
      include/linux/dynamic_debug.h:64:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
        static struct _ddebug  __aligned(8)   \
                      ^
      include/linux/dynamic_debug.h:84:2: note: in expansion of macro ‘DEFINE_DYNAMIC_DEBUG_METADATA’
        DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
        ^
      include/linux/device.h:1106:2: note: in expansion of macro ‘dynamic_dev_dbg’
        dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
        ^
      drivers/media/platform/exynos4-is/fimc-is.c:419:2: note: in expansion of macro ‘dev_dbg’
        dev_dbg(dev, "FW size: %d, paddr: %#x\n", fw->size, is->memory.paddr);
        ^
      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:84:2: note: in expansion of macro ‘DEFINE_DYNAMIC_DEBUG_METADATA’
        DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
        ^
      include/linux/device.h:1106:2: note: in expansion of macro ‘dynamic_dev_dbg’
        dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
        ^
      drivers/media/platform/exynos4-is/fimc-is.c:419:2: note: in expansion of macro ‘dev_dbg’
        dev_dbg(dev, "FW size: %d, paddr: %#x\n", fw->size, is->memory.paddr);
        ^
      drivers/media/platform/exynos4-is/fimc-is.c: In function ‘fimc_is_hw_initialize’:
      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/exynos4-is/fimc-is.c:696:2: note: in expansion of macro ‘pr_debug’
        pr_debug("shared region: %#x, parameter region: %#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/exynos4-is/fimc-is.c:696:2: note: in expansion of macro ‘pr_debug’
        pr_debug("shared region: %#x, parameter region: %#x\n",
        ^
      Acked-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7d4020c3
  16. 04 9月, 2014 1 次提交
  17. 27 8月, 2014 5 次提交
  18. 24 5月, 2014 3 次提交
  19. 14 5月, 2014 3 次提交
  20. 23 4月, 2014 1 次提交
  21. 15 4月, 2014 1 次提交
  22. 14 3月, 2014 4 次提交
  23. 07 3月, 2014 1 次提交