diff options
| author | Zhen Lei <thunder.leizhen@huawei.com> | 2024-10-26 11:56:34 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:02:14 +0100 |
| commit | bad37309c8b8bf1cfc893750df0951a804009ca0 (patch) | |
| tree | 728a55c3b98f5e47533c316b8b0c619ad041c87b /scripts/stackusage | |
| parent | 55fdcd1f4aaafd8a0eed7256093306f50235075c (diff) | |
| download | linux-bad37309c8b8bf1cfc893750df0951a804009ca0.tar.gz linux-bad37309c8b8bf1cfc893750df0951a804009ca0.tar.bz2 linux-bad37309c8b8bf1cfc893750df0951a804009ca0.zip | |
fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
[ Upstream commit f89d17ae2ac42931be2a0153fecbf8533280c927 ]
When information such as info->screen_base is not ready, calling
sh7760fb_free_mem() does not release memory correctly. Call
dma_free_coherent() instead.
Fixes: 4a25e41831ee ("video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver")
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
