2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/media/pci
Mauro Carvalho Chehab 1d212cf0c2 [media] cx18: struct i2c_client is too big for stack
drivers/media/pci/cx18/cx18-driver.c: In function 'cx18_read_eeprom':
	drivers/media/pci/cx18/cx18-driver.c:357:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
That happens because the routine allocates 256 bytes for an eeprom buffer, plus
the size of struct i2c_client, with is big.
Change the logic to dynamically allocate/deallocate space for struct i2c_client,
instead of  using the stack.

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-07 15:04:00 -02:00
..
b2c2 [media] pci: flexcop: Remove redundant pci_set_drvdata 2013-10-17 05:56:55 -03:00
bt8xx [media] misc drivers: remove deprecated IRQF_DISABLED 2013-10-17 06:08:31 -03:00
cx18 [media] cx18: struct i2c_client is too big for stack 2013-11-07 15:04:00 -02:00
cx88 [media] misc drivers: remove deprecated IRQF_DISABLED 2013-10-17 06:08:31 -03:00
cx23885 [media] misc drivers: remove deprecated IRQF_DISABLED 2013-10-17 06:08:31 -03:00
cx25821 [media] cx25821: fix sparse warnings 2013-10-17 06:16:46 -03:00
ddbridge [media] ddbridge: Remove casting the return value which is a void pointer 2013-10-31 04:54:12 -02:00
dm1105 [media] dm1105: remove unneeded not-null test 2013-10-31 04:53:40 -02:00
ivtv [media] ivtv: remove deprecated IRQF_DISABLED 2013-10-17 06:08:52 -03:00
mantis [media] pci: mantis: Remove redundant pci_set_drvdata 2013-10-17 06:01:32 -03:00
meye [media] misc drivers: remove deprecated IRQF_DISABLED 2013-10-17 06:08:31 -03:00
ngene [media] ngene: Remove casting the return value which is a void pointer 2013-10-31 04:53:59 -02:00
pluto2 [media] pci: pluto2: Remove redundant pci_set_drvdata 2013-10-17 06:01:50 -03:00
pt1 [media] pci: pt1: Remove redundant pci_set_drvdata 2013-10-17 06:01:59 -03:00
saa7134 [media] misc drivers: remove deprecated IRQF_DISABLED 2013-10-17 06:08:31 -03:00
saa7146 [media] mxb: check register address when reading/writing a register 2013-06-17 08:53:48 -03:00
saa7164 [media] misc drivers: remove deprecated IRQF_DISABLED 2013-10-17 06:08:31 -03:00
sta2x11 [media] sta2x11_vip: fix error return code in sta2x11_vip_init_one() 2013-05-27 08:51:45 -03:00
ttpci [media] stb0899: remove commented value from IQ_SWAP_ON/OFF usages 2013-05-21 08:54:37 -03:00
zoran [media] zoran: don't build it on alpha 2013-11-07 15:03:19 -02:00
Kconfig Properly handle tristate dependencies on USB/PCI menus 2013-06-17 11:40:28 -03:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00