mirror-linux/drivers/gpu/drm/omapdrm
Tomi Valkeinen 457a969bc6 drm/omap: dsi: Fix excessive stack usage
[ Upstream commit cfca78971b ]

dsi_dump_dsi_irqs(), a function used for debugfs prints, has a large
struct in its frame, which can result in:

drivers/gpu/drm/omapdrm/dss/dsi.c:1126:1: warning: the frame size of 1060 bytes is larger than 1024 bytes [-Wframe-larger-than=]

As the performance of the function is of no concern, let's allocate the
struct with kmalloc instead.

Compile-tested only.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220916082206.167427-1-tomi.valkeinen@ideasonboard.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:55 +01:00
..
dss drm/omap: dsi: Fix excessive stack usage 2023-03-10 09:33:55 +01:00
Kconfig
Makefile
TODO
omap_crtc.c
omap_crtc.h
omap_debugfs.c
omap_dmm_priv.h
omap_dmm_tiler.c drm/omap: dmm_tiler:Remove the print function dev_err() 2022-09-09 16:23:21 +03:00
omap_dmm_tiler.h
omap_drv.c
omap_drv.h
omap_encoder.c
omap_encoder.h
omap_fb.c
omap_fb.h
omap_fbdev.c
omap_fbdev.h
omap_gem.c
omap_gem.h
omap_gem_dmabuf.c
omap_irq.c
omap_irq.h
omap_overlay.c
omap_overlay.h
omap_plane.c
omap_plane.h
tcm-sita.c
tcm.h