diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-09-14 20:38:34 -0400 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-10-13 11:33:11 +0200 |
| commit | b71e0bb7ad40c005b167e9b48be3af5a3fa51974 (patch) | |
| tree | e111f5e18ea68466c524fb06020a2a9dfa93ac14 /scripts/Makefile.thinlto | |
| parent | 20b3b97cf89cb381bf07516090d99399cc9b91fd (diff) | |
fbdev: gxt4500: Release WC setup on probe failure
gxt4500_probe() adds a write-combining range before allocating the cmap
and registering the framebuffer. If a later step fails, the range is
not released. Add the missing cleanup before unmapping the framebuffer,
matching the successful remove path.
This issue was identified during our ongoing static-analysis research
while reviewing kernel code.
Fixes: 38fc4d45fae5 ("gxt4500: Use arch_phys_wc_* for framebuffer")
Assisted-by: LLM
Co-developed-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
