linux/drivers/media/platform/mtk-vcodec
Arnd Bergmann 19e476c7b0 [media] mtk-vcodec: fix more type mismatches
The newly added mtk-vcodec driver produces a number of warnings in an
ARM allmodconfig build, mainly since it assumes that dma_addr_t is
32-bit wide:

mtk-vcodec/venc/venc_vp8_if.c: In function 'vp8_enc_alloc_work_buf':
mtk-vcodec/venc/venc_vp8_if.c:212:191: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
mtk-vcodec/venc/venc_h264_if.c: In function 'h264_enc_alloc_work_buf':
mtk-vcodec/venc/venc_h264_if.c:297:190: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]

This rearranges the format strings and type casts to what they should
have been in order to avoid the warnings. e0f80d8d62 ("[media]
mtk-vcodec: fix two compiler warnings") fixed some of the problems that
were introduced at the same time, but missed two others.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-15 12:37:17 -03:00
..
venc [media] mtk-vcodec: fix more type mismatches 2016-07-15 12:37:17 -03:00
Makefile [media] vcodec: mediatek: Add Mediatek H264 Video Encoder Driver 2016-07-08 14:12:51 -03:00
mtk_vcodec_drv.h [media] mtk-vcodec: convert driver to use the new vb2_queue dev field 2016-07-08 16:16:51 -03:00
mtk_vcodec_enc.c [media] mtk-vcodec: fix two compiler warnings 2016-07-09 07:41:13 -03:00
mtk_vcodec_enc.h
mtk_vcodec_enc_drv.c [media] mtk-vcodec: remove redundant dev_err call in mtk_vcodec_probe() 2016-07-13 08:01:20 -03:00
mtk_vcodec_enc_pm.c [media] vcodec: mediatek: Fix return value check in mtk_vcodec_init_enc_pm() 2016-07-13 08:00:57 -03:00
mtk_vcodec_enc_pm.h
mtk_vcodec_intr.c
mtk_vcodec_intr.h
mtk_vcodec_util.c
mtk_vcodec_util.h
venc_drv_base.h
venc_drv_if.c [media] vcodec: mediatek: Add Mediatek H264 Video Encoder Driver 2016-07-08 14:12:51 -03:00
venc_drv_if.h
venc_ipi_msg.h
venc_vpu_if.c [media] mtk-vcodec: fix compiler warning 2016-07-09 07:47:29 -03:00
venc_vpu_if.h