WSL2-Linux-Kernel/drivers/media/pci/cx18
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
..
Kconfig
Makefile
cx18-alsa-main.c [media] cx18/ivtv: fix regression: remove __init from a non-init function 2013-02-11 18:18:14 -02:00
cx18-alsa-mixer.c
cx18-alsa-mixer.h
cx18-alsa-pcm.c [media] cx18: get rid of warning: no previous prototype 2012-10-27 17:58:14 -02:00
cx18-alsa-pcm.h [media] cx18/ivtv: fix regression: remove __init from a non-init function 2013-02-11 18:18:14 -02:00
cx18-alsa.h
cx18-audio.c
cx18-audio.h
cx18-av-audio.c
cx18-av-core.c [media] cx18: remove g_chip_ident support 2013-06-17 08:41:17 -03:00
cx18-av-core.h [media] cx18: remove g_chip_ident support 2013-06-17 08:41:17 -03:00
cx18-av-firmware.c
cx18-av-vbi.c
cx18-cards.c
cx18-cards.h
cx18-controls.c
cx18-controls.h
cx18-driver.c [media] cx18: struct i2c_client is too big for stack 2013-11-07 15:04:00 -02:00
cx18-driver.h
cx18-dvb.c
cx18-dvb.h
cx18-fileops.c
cx18-fileops.h
cx18-firmware.c
cx18-firmware.h
cx18-gpio.c
cx18-gpio.h
cx18-i2c.c [media] media: cx18, ivtv: eliminate unnecessary array index checks 2013-02-05 19:19:44 -02:00
cx18-i2c.h
cx18-io.c
cx18-io.h
cx18-ioctl.c [media] cx18: fix register range check 2013-06-17 09:15:43 -03:00
cx18-ioctl.h [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
cx18-irq.c
cx18-irq.h
cx18-mailbox.c
cx18-mailbox.h
cx18-queue.c
cx18-queue.h
cx18-scb.c
cx18-scb.h
cx18-streams.c [media] cx18: get rid of warning: no previous prototype 2012-10-27 17:58:14 -02:00
cx18-streams.h
cx18-vbi.c [media] drivers/media/pci: use memmove for overlapping regions 2013-02-05 19:26:38 -02:00
cx18-vbi.h
cx18-version.h
cx18-video.c
cx18-video.h
cx23418.h