original_kernel/drivers/media
Arnd Bergmann 15a98fb2fc media: dvb_frontend: split dvb_frontend_handle_ioctl function
Over time, dvb_frontend_handle_ioctl() has grown to the point where
we now get a warning from the compiler about excessive stack usage:

drivers/media/dvb-core/dvb_frontend.c: In function 'dvb_frontend_handle_ioctl':
drivers/media/dvb-core/dvb_frontend.c:2692:1: error: the frame size of 1048 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

Almost all of this is used by the dtv_frontend_properties structure
in the FE_GET_PROPERTY and FE_GET_FRONTEND commands. Splitting those
into separate function reduces the stack usage of the main function
to just 136 bytes, the others are under 500 each.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-27 07:24:12 -04:00
..
cec media: cec-notifier: add new notifier functions 2019-06-27 07:19:43 -04:00
common media: media/pci: set device_caps in struct video_device 2019-06-24 14:57:12 -04:00
dvb-core media: dvb_frontend: split dvb_frontend_handle_ioctl function 2019-06-27 07:24:12 -04:00
dvb-frontends
firewire
i2c media: st-mipid02: add support of JPEG 2019-06-24 13:04:58 -04:00
mc
mmc
pci media: pci: cx88: Change the type of 'missed' to u64 2019-06-24 14:59:04 -04:00
platform media: cec: add struct cec_connector_info support 2019-06-27 07:18:43 -04:00
radio
rc media: mceusb: disable "nonsensical irdata" messages 2019-06-27 07:21:41 -04:00
spi
tuners
usb media: hdpvr: fix locking and a missing msleep 2019-06-24 15:02:01 -04:00
v4l2-core media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom() 2019-06-24 15:01:07 -04:00
Kconfig
Makefile