WSL2-Linux-Kernel/drivers/gpu/drm/omapdrm
Tomi Valkeinen fc4f90d6eb 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:39:52 +01:00
..
dss drm/omap: dsi: Fix excessive stack usage 2023-03-10 09:39:52 +01:00
Kconfig drm/omap: squash omapdrm sub-modules into one 2020-12-15 16:08:27 +02:00
Makefile drm/omap: remove unused display.c 2020-12-15 16:08:27 +02:00
TODO
omap_crtc.c drm/omap: remove dss_mgr_ops 2020-12-15 16:17:30 +02:00
omap_crtc.h drm/omap: remove dss_mgr_ops 2020-12-15 16:17:30 +02:00
omap_debugfs.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omap_dmm_priv.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omap_dmm_tiler.c drm/omap: dmm_tiler: fix return error code in omap_dmm_probe() 2020-11-17 14:43:19 +01:00
omap_dmm_tiler.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omap_drv.c drm/bridge: Centralize error message when bridge attach fails 2021-07-28 16:33:12 +03:00
omap_drv.h drm/omapdrm: Track IRQ state in local device state 2021-06-29 11:08:43 +02:00
omap_encoder.c drm/omap: drop unused DSS next pointer 2020-12-15 16:08:26 +02:00
omap_encoder.h
omap_fb.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omap_fb.h
omap_fbdev.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omap_fbdev.h
omap_gem.c drm/prime: split array import functions v4 2020-11-30 15:00:45 +01:00
omap_gem.h
omap_gem_dmabuf.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omap_irq.c drm/omapdrm: Remove outdated comment 2021-07-15 11:24:53 +02:00
omap_irq.h
omap_plane.c drm/omap: Follow implicit fencing in prepare_fb 2021-06-24 15:39:37 +02:00
omap_plane.h
tcm-sita.c drm/omap: Delete useless kfree code 2020-12-15 17:19:54 +02:00
tcm.h