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
av7110_av.h
av7110_ca.c
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
av7110.c [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
av7110.h
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
Makefile
ttpci-eeprom.c
ttpci-eeprom.h