OpenCloudOS-Kernel/drivers/media/platform/mtk-vcodec
Mauro Carvalho Chehab 36bcba973a [media] mtk_vcodec_dec: return error at mtk_vdec_pic_info_update()
Gcc 7.1 complains that:

	drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c: In function 'mtk_vdec_pic_info_update':
	drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:284:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
	  int ret;
	      ^~~

Indeed, if debug is disabled, "ret" is never used. The best
fix for it seems to make the fuction to return an error code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-05-19 07:12:05 -03:00
..
vdec [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
venc [media] vcodec: mediatek: Remove double parentheses 2017-04-05 15:09:20 -03:00
Makefile [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
mtk_vcodec_dec.c [media] mtk_vcodec_dec: return error at mtk_vdec_pic_info_update() 2017-05-19 07:12:05 -03:00
mtk_vcodec_dec.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
mtk_vcodec_dec_drv.c [media] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush 2017-02-03 07:49:24 -02:00
mtk_vcodec_dec_pm.c [media] mtk-vcodec: fix some smatch warnings 2016-10-21 12:09:23 -02:00
mtk_vcodec_dec_pm.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_drv.h [media] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush 2017-02-03 07:49:24 -02:00
mtk_vcodec_enc.c Linux 4.8 2016-10-05 16:43:53 -03:00
mtk_vcodec_enc.h
mtk_vcodec_enc_drv.c [media] mtk-vcodec: remove redundant return value check of platform_get_resource() 2017-03-22 11:23: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 [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_intr.h [media] vcodec:mediatek:code refine for v4l2 Encoder driver 2016-08-24 11:20:50 -03:00
mtk_vcodec_util.c [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_util.h [media] mtk-vcodec: avoid warnings because of empty macros 2017-04-19 07:48:56 -03:00
vdec_drv_base.h [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
vdec_drv_if.c [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
vdec_drv_if.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
vdec_ipi_msg.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
vdec_vpu_if.c [media] mtk-vcodec: fix build warnings without DEBUG 2017-02-08 12:08:20 -02:00
vdec_vpu_if.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
venc_drv_base.h
venc_drv_if.c [media] mtk-vcodec: constify venc_common_if structures 2016-08-24 08:46:19 -03:00
venc_drv_if.h
venc_ipi_msg.h
venc_vpu_if.c [media] mtk-vcodec: fix build warnings without DEBUG 2017-02-08 12:08:20 -02:00
venc_vpu_if.h