Arnd Bergmann 4e18618ced fbdev: omapfb: avoid stack overflow warning
[ Upstream commit 634cf6ead93988b0da9ac054521ab63a3ba189db ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-24 07:24:32 +01:00
..
2022-10-05 11:24:12 -07:00
2022-12-31 13:32:43 +01:00
2020-01-15 17:31:50 +01:00
2022-10-05 11:24:12 -07:00
2022-10-05 11:24:12 -07:00
2022-06-20 18:21:25 +02:00
2020-02-19 10:58:22 -08:00
2022-10-05 11:24:12 -07:00
2022-10-05 11:24:12 -07:00
2022-12-31 13:32:43 +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
2022-10-05 11:24:12 -07:00
2020-01-30 08:04:01 -08:00
2022-09-06 10:56:04 +02:00
2022-10-05 11:24:12 -07:00
2022-10-05 11:24:12 -07:00
2022-10-05 11:24:12 -07:00
2022-10-05 11:24:12 -07:00
2022-10-05 11:24:12 -07:00
2022-09-06 10:56:04 +02:00