diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-09-14 20:52:43 -0400 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-10-13 11:33:11 +0200 |
| commit | d3bc005a62945aec57059201092b12b7c955e5a7 (patch) | |
| tree | 1cb038f5cdafc9955e39a580147027aa225555c6 /scripts/Makefile.thinlto | |
| parent | b71e0bb7ad40c005b167e9b48be3af5a3fa51974 (diff) | |
fbdev: kyro: Release WC setup on registration failure
If register_framebuffer() fails, kyrofb_probe() frees the framebuffer
without releasing its write-combining range. Release the range before
freeing the framebuffer. Earlier failures still skip this cleanup.
The missing cleanup already exists in the initial Git import, before
the conversion from mtrr_add() to arch_phys_wc_add().
This issue was identified during our ongoing static-analysis research
while reviewing kernel code.
Cc: stable@vger.kernel.org
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
