linux/drivers/media/pci/ttpci
Mauro Carvalho Chehab 5bf30b3bc4 [media] av7110_hw: Don't use dynamic static allocation
Dynamic static allocation is evil, as Kernel stack is too low, and
compilation complains about it on some archs:
	drivers/media/pci/ttpci/av7110_hw.c:510:1: warning: 'av7110_fw_cmd' uses dynamic stack allocation [enabled by default]
Instead, let's enforce a limit for the buffer.
In the specific case of this driver, the maximum fw command size
is 6 + 2, as checked using:
	$ git grep -A1 av7110_fw_cmd drivers/media/pci/ttpci/
So, use 8 for the buffer size.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-11-08 09:45:41 -02:00
..
av7110_av.c [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
av7110_av.h
av7110_ca.c [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
av7110_ca.h
av7110_hw.c [media] av7110_hw: Don't use dynamic static allocation 2013-11-08 09:45:41 -02:00
av7110_hw.h
av7110_ipack.c
av7110_ipack.h
av7110_ir.c proc: Supply PDE attribute setting accessor functions 2013-05-01 17:29:18 -04:00
av7110_v4l.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
av7110.c [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
av7110.h [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
budget-av.c [media] stb0899: remove commented value from IQ_SWAP_ON/OFF usages 2013-05-21 08:54:37 -03:00
budget-ci.c [media] stb0899: remove commented value from IQ_SWAP_ON/OFF usages 2013-05-21 08:54:37 -03:00
budget-core.c
budget-patch.c
budget.c [media] budget: Add support for Philips Semi Sylt PCI ref. design 2013-04-08 07:28:01 -03:00
budget.h
Kconfig [media] ttpci: Fix a missing Kconfig dependency 2012-12-27 14:47:59 -02:00
Makefile
ttpci-eeprom.c
ttpci-eeprom.h