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
..
2022-12-14 20:01:51 +01:00
2022-11-24 11:05:43 +10:00
2020-01-15 17:31:50 +01:00
2022-11-24 11:05:43 +10:00
2022-06-20 18:21:25 +02:00
2020-02-19 10:58:22 -08:00
2022-12-13 11:59:58 -08:00
2022-12-27 22:01:45 +01:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2022-03-24 16:19:43 -07:00
2020-01-30 08:04:01 -08:00