linux/drivers/media/v4l2-core
Mauro Carvalho Chehab 4ee236219f media: v4l2-fwnode: suppress a warning at OF parsing logic
smatch produce this warning:
	drivers/media/v4l2-core/v4l2-fwnode.c:76 v4l2_fwnode_endpoint_parse_csi_bus() error: buffer overflow 'array' 5 <= u16max

That's because, in thesis, the routine might have called with
some value at bus->num_data_lanes. That's not the current
case.

Yet, better to shut up this warning, and make the code more
reliable if some future changes might cause a bug.

While here, simplify the code a little bit by reading only
once from lanes-properties array.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-20 16:26:21 -04:00
..
Kconfig
Makefile
tuner-core.c media: tuner-core: Remove unused #define PREFIX 2017-06-24 09:37:01 -03:00
v4l2-async.c [media] v4l2-core: Use kvmalloc() for potentially big allocations 2017-06-20 09:11:48 -03:00
v4l2-clk.c
v4l2-common.c
v4l2-compat-ioctl32.c
v4l2-ctrls.c [media] v4l2-core: Use kvmalloc() for potentially big allocations 2017-06-20 09:11:48 -03:00
v4l2-dev.c
v4l2-device.c
v4l2-dv-timings.c
v4l2-event.c [media] v4l2-core: Use kvmalloc() for potentially big allocations 2017-06-20 09:11:48 -03:00
v4l2-fh.c
v4l2-flash-led-class.c
v4l2-fwnode.c media: v4l2-fwnode: suppress a warning at OF parsing logic 2017-07-20 16:26:21 -04:00
v4l2-ioctl.c [media] v4l2-ioctl/exynos: fix G/S_SELECTION's type handling 2017-06-23 09:20:42 -03:00
v4l2-mc.c
v4l2-mem2mem.c [media] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management 2017-06-20 08:53:39 -03:00
v4l2-subdev.c [media] v4l2-core: Use kvmalloc() for potentially big allocations 2017-06-20 09:11:48 -03:00
v4l2-trace.c
vb2-trace.c
videobuf2-core.c [media] vb2: Fix error handling in '__vb2_buf_mem_alloc' 2017-06-20 09:04:46 -03:00
videobuf2-dma-contig.c media: vb2 dma-contig: Constify dma_buf_ops structures 2017-07-19 14:58:38 -04:00
videobuf2-dma-sg.c media: vb2 dma-sg: Constify dma_buf_ops structures 2017-07-19 14:59:24 -04:00
videobuf2-dvb.c
videobuf2-memops.c
videobuf2-v4l2.c
videobuf2-vmalloc.c media: vb2 vmalloc: Constify dma_buf_ops structures 2017-07-19 14:59:01 -04:00
videobuf-core.c
videobuf-dma-contig.c
videobuf-dma-sg.c
videobuf-dvb.c
videobuf-vmalloc.c