diff options
| author | Arnd Bergmann <[email protected]> | 2022-12-15 17:02:28 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2023-01-05 10:43:27 +0000 |
| commit | 634cf6ead93988b0da9ac054521ab63a3ba189db (patch) | |
| tree | bd8aebffbe05966b41de6b8029bf69c698b6e733 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB (diff) | |
| download | kernel-634cf6ead93988b0da9ac054521ab63a3ba189db.tar.gz kernel-634cf6ead93988b0da9ac054521ab63a3ba189db.zip | |
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
