Files
linux/drivers
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
..
2023-02-22 12:57:03 +01:00
2022-04-13 20:59:01 +02:00
2022-12-31 13:14:48 +01:00
2022-08-25 11:40:33 +02:00
2021-12-22 09:32:39 +01:00