alistair23-linux/drivers/media
Mauro Carvalho Chehab 1d88f831d2 [media] tc358743: don't use variable length array for I2C writes
drivers/media/i2c/tc358743.c:148:19: warning: Variable length array is used.

As the maximum size is 1026, we can't use dynamic var, as it
would otherwise spend 1056 bytes of the stack at i2c_wr() function.

So, allocate a buffer with the allowed maximum size together with
the state var.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-08-16 12:55:07 -03:00
..
common [media] saa7146: use swap() in sort_and_eliminate() 2015-07-06 08:25:49 -03:00
dvb-core [media] dvb_core: Replace memset with eth_zero_addr 2015-07-22 13:32:21 -03:00
dvb-frontends [media] tda10071: use div_s64() when dividing a s64 integer 2015-08-11 19:19:30 -03:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] tc358743: don't use variable length array for I2C writes 2015-08-16 12:55:07 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver 2015-08-11 15:16:40 -03:00
platform [media] c8sectpfe: use a new Kconfig menu for DVB platform drivers 2015-08-11 19:28:23 -03:00
radio [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
rc [media] rc-core: improve the lirc protocol reporting 2015-08-11 13:18:13 -03:00
tuners [media] tuners: Drop owner assignment from i2c_driver 2015-08-11 13:01:32 -03:00
usb [media] Technisat SkyStar USB HD,(DVB-S/S2) too much URBs for arm devices 2015-08-11 14:43:23 -03:00
v4l2-core [media] Drop owner assignment from i2c_driver 2015-08-11 13:01:57 -03:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00