linux/drivers/media
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
..
cec media: cec: drop senseless message 2017-07-18 13:00:26 -03:00
common media: saa7146: constify i2c_algorithm structure 2017-07-20 14:55:14 -04:00
dvb-core media: dvb_ca_en50221.h: fix checkpatch strict warnings 2017-07-20 15:47:07 -04:00
dvb-frontends media: dvb-frontends/stv0367: improve QAM fe_status 2017-07-20 15:16:48 -04:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: adv7180: add missing adv7180cp, adv7180st i2c device IDs 2017-07-20 06:54:04 -04:00
mmc
pci media: cx25821: get rid of CX25821_VERSION_CODE 2017-07-20 16:21:38 -04:00
platform media: s3c-camif: use LINUX_VERSION_CODE for driver's version 2017-07-20 16:21:05 -04:00
radio Linux v4.13-rc1 2017-07-17 11:17:36 -03:00
rc [media] rc-core: cleanup rc_register_device pt2 2017-06-13 13:55:01 -03:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: fc001[23]: make const gain table arrays static 2017-07-19 15:12:39 -04:00
usb media: pvrusb2: fix the retry logic 2017-07-20 16:25:41 -04:00
v4l2-core media: v4l2-fwnode: suppress a warning at OF parsing logic 2017-07-20 16:26:21 -04:00
Kconfig media: cec-pin: add low-level pin hardware support 2017-07-18 12:57:18 -03:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c media: devnode: Rename mdev argument as devnode 2017-07-20 15:11:40 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: entity: Catch unbalanced media_pipeline_stop calls 2017-06-23 09:23:36 -03:00