diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-09-14 20:54:47 -0400 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-10-13 11:33:12 +0200 |
| commit | 8710af6a35201a6d01b5af8f7e4bad29cc40467f (patch) | |
| tree | 629be95f8b624d347d359c34d13232bb0c8dfe48 /scripts/Makefile.thinlto | |
| parent | d3bc005a62945aec57059201092b12b7c955e5a7 (diff) | |
fbdev: nvidia: Release write-combining handle on probe failure
Failures in nvidia_set_fbinfo() or register_framebuffer() leave the handle
from arch_phys_wc_add() allocated. Release it in the shared error path,
as nvidiafb_remove() already does on normal removal.
The missing cleanup was already present in the initial Git import,
when the driver used mtrr_add() directly.
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
