Several error paths in the i915 driver incorrectly invoke cleanup functions multiple times, potentially causing double-free errors. This series corrects these paths to ensure cleanup is performed only once.
Testing note: Only the DisplayPort fix has been hardware tested due to lack of available hardware for the other components. Signed-off-by: Kory Maincent <[email protected]> --- Kory Maincent (3): drm/i915/display/intel_sdvo: Fix double connector destroy in error paths drm/i915/display/intel_lvds: Drop redundant manual cleanup on init failure drm/i915/display/intel_dp: Drop redundant intel_dp_aux_fini() on init failure drivers/gpu/drm/i915/display/intel_dp.c | 4 +--- drivers/gpu/drm/i915/display/intel_lvds.c | 14 ++++---------- drivers/gpu/drm/i915/display/intel_sdvo.c | 16 ++++------------ 3 files changed, 9 insertions(+), 25 deletions(-) --- base-commit: e1696f1fc99dc0ff761a012230587b23dec064fb change-id: 20260603-fix_i915-5c3d8c09662a Best regards, -- Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
