diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-07-01 20:12:24 +0900 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-08-10 08:13:25 +0200 |
| commit | de8db23aa7c337e606fca9faf48b3ba72968597a (patch) | |
| tree | c14dd0c9045ee97f211e75197d0481400b819a13 /tools/perf/scripts/python/task-analyzer.py | |
| parent | db2ddb87143519e20a95aa36c60b36107b736a58 (diff) | |
fbdev: uvesafb: unregister connector callback on init failure
uvesafb_init() registers the v86d connector callback before registering
the platform driver. If platform_driver_register() fails, the function
returns the error directly and leaves the connector callback registered.
The later platform-device failure path already unregisters the callback.
Add the same cleanup before the final return when platform-driver
registration fails.
This issue was identified during our ongoing static-analysis research while
reviewing kernel code.
Fixes: 8bdb3a2d7df4 ("uvesafb: the driver core")
Cc: stable@vger.kernel.org
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
