diff options
author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2022-09-16 11:22:05 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2022-12-16 19:24:39 +0200 |
commit | cfca78971b9233aef0891507a98fba62046d4542 (patch) | |
tree | 04c0772acf82c2f56d7808bce77ba35bc5045cc8 /Documentation/Changes | |
parent | 88652d8a2c7c52e209b3385d63dfc82e2d80c848 (diff) | |
download | linux-cfca78971b9233aef0891507a98fba62046d4542.tar.gz |
drm/omap: dsi: Fix excessive stack usage
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
Diffstat (limited to 'Documentation/Changes')
0 files changed, 0 insertions, 0 deletions