linux/drivers/media/platform
Prabhakar Lad e9b5872ce5 [media] media: davinci: vpif: fix array out of bound warnings
This patch fixes following array out of bound warnings,

drivers/media/platform/davinci/vpif_display.c: In function 'vpif_remove':
drivers/media/platform/davinci/vpif_display.c:1389:36: warning: iteration
1u invokes undefined behavior [-Waggressive-loop-optimizations]
   vb2_dma_contig_cleanup_ctx(common->alloc_ctx);
                                    ^
drivers/media/platform/davinci/vpif_display.c:1385:2: note: containing loop
  for (i = 0; i < VPIF_DISPLAY_MAX_DEVICES; i++) {
  ^
drivers/media/platform/davinci/vpif_capture.c: In function 'vpif_remove':
drivers/media/platform/davinci/vpif_capture.c:1581:36: warning: iteration
1u invokes undefined behavior [-Waggressive-loop-optimizations]
   vb2_dma_contig_cleanup_ctx(common->alloc_ctx);
                                    ^
drivers/media/platform/davinci/vpif_capture.c:1577:2: note: containing loop
  for (i = 0; i < VPIF_CAPTURE_MAX_DEVICES; i++) {
  ^
drivers/media/platform/davinci/vpif_capture.c:1580:23: warning: array subscript
is above array bounds [-Warray-bounds]
   common = &ch->common[i];

Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-07-22 00:46:17 -03:00
..
blackfin [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
davinci [media] media: davinci: vpif: fix array out of bound warnings 2014-07-22 00:46:17 -03:00
exynos4-is [media] exynos4-is: Remove support for non-dt platforms 2014-05-23 18:52:54 -03:00
exynos-gsc [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
marvell-ccic [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
omap [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
omap3isp [media] omap3isp: Rename isp_buffer isp_addr field to dma 2014-05-25 11:40:09 -03:00
s3c-camif [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
s5p-g2d [media] v4l: Copy timestamp source flags to destination on m2m devices 2014-03-05 16:47:15 -03:00
s5p-jpeg [media] s5p-jpeg: Fix NV12 format entry related to S5C2120 SoC 2014-05-13 20:23:03 -03:00
s5p-mfc [media] s5p-mfc: limit the size of the CPB 2014-07-21 16:02:50 -03:00
s5p-tv [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
soc_camera [media] V4L2: soc_camera: Add run-time dependencies to sh_mobile drivers 2014-06-17 12:04:54 -03:00
ti-vpe [media] v4l: ti-vpe: Rename csc memory resource name 2014-05-23 14:33:17 -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
coda.c [media] coda: simplify IRAM setup 2014-07-21 15:53:41 -03:00
coda.h [media] coda: add CODA7541 decoding support 2013-07-31 15:56:44 -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] omap3isp: Use the ARM DMA IOMMU-aware operations 2014-05-25 11:18:42 -03:00
m2m-deinterlace.c [media] m2m-deinterlace: Convert to devm* API 2014-06-17 12:04:46 -03:00
Makefile [media] omap24xx/tcm825x: move to staging for future removal 2013-12-20 13:45:22 -02: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] media: mx2-emmaprp: Add missing mutex_destroy() 2014-05-23 14:57:35 -03:00
sh_veu.c [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03: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: replace current_norm by g_std 2013-06-17 09:33:49 -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
vivi.c [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00