linux/drivers/video/fbdev/omap2/omapfb
Arnd Bergmann 634cf6ead9 fbdev: omapfb: avoid stack overflow warning
The dsi_irq_stats structure is a little too big to fit on the
stack of a 32-bit task, depending on the specific gcc options:

fbdev/omap2/omapfb/dss/dsi.c: In function 'dsi_dump_dsidev_irqs':
fbdev/omap2/omapfb/dss/dsi.c:1621:1: error: the frame size of 1064 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

Since this is only a debugfs file, performance is not critical,
so just dynamically allocate it, and print an error message
in there in place of a failure code when the allocation fails.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
2023-01-05 11:43:27 +01:00
..
displays fbdev: omapfb: panel-sharp-ls037v7dw01: fix included headers 2022-12-14 20:01:50 +01:00
dss fbdev: omapfb: avoid stack overflow warning 2023-01-05 11:43:27 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
omapfb-ioctl.c fbdev: Use fallthrough pseudo-keyword 2020-08-03 21:38:37 +02:00
omapfb-main.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
omapfb-sysfs.c video: omapfb: replace snprintf in show functions with sysfs_emit 2021-10-15 22:52:10 +02:00
omapfb.h fbdev: omapfb: avoid -Wempty-body warning 2021-03-22 15:02:14 +01:00
vrfb.c fbdev: omapfb: use devm_platform_ioremap_resource() to simplify code 2020-01-03 14:27:44 +01:00