linux/drivers/media/platform
Mauro Carvalho Chehab 4966bac19c [media] s5p_mfc_opr_v6: get rid of warnings when compiled with 64 bits
There are several errors related to size_t size and the usage of
unsigned int for pointers:

drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_alloc_codec_buffers_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:103:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
   mfc_debug(2, "recon luma size: %d chroma size: %d\n",
   ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:103:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_set_dec_frame_buffer_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:472:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
   mfc_debug(2, "Luma %d: %x\n", i,
   ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:476:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
   mfc_debug(2, "\tChroma %d: %x\n", i,
   ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:490:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ [-Wformat=]
    mfc_debug(2, "\tBuf1: %x, size: %d\n",
    ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:498:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ [-Wformat=]
  mfc_debug(2, "Buf1: %u, buf_size1: %d (frames %d)\n",
  ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_set_enc_ref_buffer_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:596:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ [-Wformat=]
  mfc_debug(2, "Buf1: %u, buf_size1: %d (ref frames %d)\n",
  ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_write_info_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:1883:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  writel(data, (volatile void __iomem *)ofs);
               ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_read_info_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:1893:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  ret = readl((volatile void __iomem *)ofs);
              ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_get_pic_type_top_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2022:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (__force unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_top);
   ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_get_pic_type_bot_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2028:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (__force unsigned int) ctx->dev->mfc_regs->d_ret_picture_tag_bot);
   ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_get_crop_info_h_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2034:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (__force unsigned int) ctx->dev->mfc_regs->d_display_crop_info1);
   ^
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c: In function ‘s5p_mfc_get_crop_info_v_v6’:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:2040:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (__force unsigned int) ctx->dev->mfc_regs->d_display_crop_info2);

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-26 06:48:00 -03:00
..
blackfin [media] be sure that HAS_DMA is enabled for vb2-dma-contig 2014-08-26 18:52:19 -03:00
coda [media] coda: Improve runtime PM support 2014-09-26 06:47:48 -03:00
davinci [media] davinci: remove an unneeded check 2014-09-23 16:13:45 -03:00
exynos4-is [media] marvel-ccic: just return 0 instead of using a var 2014-09-03 17:59:53 -03:00
exynos-gsc [media] gsc: Use %pad for dma_addr_t 2014-08-26 18:52:04 -03:00
marvell-ccic [media] marvel-ccic: don't initialize static vars with 0 2014-09-03 16:12:33 -03:00
omap [media] omap: simplify test logic 2014-09-03 17:59:25 -03:00
omap3isp [media] omap3isp: use true/false for boolean vars 2014-09-03 17:59:18 -03:00
s3c-camif [media] v4l: s3c-camif: Return V4L2_FIELD_NONE from pad-level set format 2014-07-22 01:00:23 -03:00
s5p-g2d [media] g2d: remove unused var 2014-08-26 18:52:11 -03:00
s5p-jpeg [media] s5p-jpeg: Fix compilation with COMPILE_TEST 2014-09-09 18:08:07 -03:00
s5p-mfc [media] s5p_mfc_opr_v6: get rid of warnings when compiled with 64 bits 2014-09-26 06:48:00 -03:00
s5p-tv [media] s5p-tv: Simplify the return logic 2014-09-03 17:59:27 -03:00
soc_camera [media] soc_camera: Support VIDIOC_EXPBUF ioctl 2014-09-26 06:47:44 -03:00
ti-vpe [media] v4l: ti-vpe: Remove casting the return value which is a void pointer 2014-09-22 19:21:08 -03:00
vivid [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vsp1 [media] v4l: vsp1: uds: Fix scaling of alpha layer 2014-07-17 12:45:00 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
indycam.c [media] indycam: remove g_chip_ident op 2013-06-17 08:49:47 -03:00
indycam.h
Kconfig [media] v4l: vsp1: fix driver dependencies 2014-09-03 09:10:24 -03:00
m2m-deinterlace.c [media] m2m-deinterlace: Convert to devm* API 2014-06-17 12:04:46 -03:00
Makefile [media] media: davinci: remove unneeded dependency ARCH_OMAP3 2014-09-21 20:17:22 -03:00
mem2mem_testdev.c [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
mx2_emmaprp.c [media] enable COMPILE_TEST for MX2 eMMa-PrP driver 2014-08-26 18:52:16 -03:00
sh_veu.c [media] sh_veu: Include media/v4l2-image-sizes.h 2014-08-21 15:25:37 -05:00
sh_vou.c [media] sh_vou: comment unused vars 2014-01-13 11:30:26 -02:00
timblogiw.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
via-camera.c [media] via-camera: simplify boolean tests 2014-09-03 17:59:26 -03:00
via-camera.h
vino.c [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
vino.h