alistair23-linux/drivers/media
Mauro Carvalho Chehab d13a7b674a [media] cxd2841er: don't use variable length arrays
The Linux stack is short; we need to be able to count the number
of bytes used at stack on each function. So, we don't like to
use variable-length arrays, as complained by smatch:

	drivers/media/dvb-frontends/cxd2841er.c:205:19: warning: Variable length array is used.

The max usecase of the driver seems to be 15 bytes + 1 for the
register.

So, let's be safe and allocate 17 bytes for the write buffer.
This should be enough to cover all cases. If not, let's print
an error message.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-08-11 15:37:10 -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] cxd2841er: don't use variable length arrays 2015-08-11 15:37:10 -03:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
mmc
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] vivid: support cvt, gtf timings for video out 2015-08-11 10:25:36 -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-device.c
media-devnode.c
media-entity.c