linux-stable/drivers/media
Arnd Bergmann 8ff230fb4f media: tuners: tda8290: reduce stack usage with kasan
With CONFIG_KASAN enabled, we get a relatively large stack frame in one function

drivers/media/tuners/tda8290.c: In function 'tda8290_set_params':
drivers/media/tuners/tda8290.c:310:1: warning: the frame size of 1520 bytes is larger than 1024 bytes [-Wframe-larger-than=]

With CONFIG_KASAN_EXTRA this goes up to

drivers/media/tuners/tda8290.c: In function 'tda8290_set_params':
drivers/media/tuners/tda8290.c:310:1: error: the frame size of 3200 bytes is larger than 3072 bytes [-Werror=frame-larger-than=]

We can significantly reduce this by marking local arrays as 'static const', and
this should result in better compiled code for everyone.

[mchehab@s-opensource.com: fix a trivial merge conflict]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Michael Ira Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-14 12:16:05 -05:00
..
cec media: cec: move cec autorepeat handling to rc-core 2017-12-14 10:35:30 -05:00
common media: siano: fix a potential integer overflow 2017-12-14 09:50:12 -05:00
dvb-core media: dvb_ca_en50221: sanity check slot number from userspace 2017-12-14 09:51:17 -05:00
dvb-frontends media: dvb-frontends/stv0910: remove unneeded dvb_math.h include 2017-12-13 08:37:58 -05:00
firewire
i2c media: i2c: enable i2c IR for hardware which isn't HD-PVR 2017-12-14 09:58:20 -05:00
mmc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci media: merge ir_tx_z8f0811_haup and ir_rx_z8f0811_haup i2c devices 2017-12-14 09:58:20 -05:00
platform media: xilinx-video: fix bad of_node_put() on endpoint error 2017-12-14 09:54:25 -05:00
radio media: radio-si476x: fix behavior when seek->range* are defined 2017-12-11 13:04:51 -05:00
rc media: cec: move cec autorepeat handling to rc-core 2017-12-14 10:35:30 -05:00
spi
tuners media: tuners: tda8290: reduce stack usage with kasan 2017-12-14 12:16:05 -05:00
usb media: merge ir_tx_z8f0811_haup and ir_rx_z8f0811_haup i2c devices 2017-12-14 09:58:20 -05:00
v4l2-core media: drivers: media: remove duplicate includes 2017-12-13 09:58:39 -05:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00