diff options
author | Arnd Bergmann <[email protected]> | 2023-12-14 13:32:15 +0100 |
---|---|---|
committer | Inki Dae <[email protected]> | 2024-01-22 12:24:35 +0900 |
commit | 960b537e91725bcb17dd1b19e48950e62d134078 (patch) | |
tree | eeba1407cdcecf828578fab69e4cd4adf281489a /scripts/generate_rust_analyzer.py | |
parent | 477552e1d339d9fa654a363c9c0f1e9c4f087d2b (diff) |
drm/exynos: fix accidental on-stack copy of exynos_drm_plane
gcc rightfully complains about excessive stack usage in the fimd_win_set_pixfmt()
function:
drivers/gpu/drm/exynos/exynos_drm_fimd.c: In function 'fimd_win_set_pixfmt':
drivers/gpu/drm/exynos/exynos_drm_fimd.c:750:1: error: the frame size of 1032 bytes is larger than 1024 byte
drivers/gpu/drm/exynos/exynos5433_drm_decon.c: In function 'decon_win_set_pixfmt':
drivers/gpu/drm/exynos/exynos5433_drm_decon.c:381:1: error: the frame size of 1032 bytes is larger than 1024 bytes
There is really no reason to copy the large exynos_drm_plane
structure to the stack before using one of its members, so just
use a pointer instead.
Fixes: 6f8ee5c21722 ("drm/exynos: fimd: Make plane alpha configurable")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Marek Szyprowski <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions