Patch "drm/meson: fix memory leak on ->hpd_notify callback" has been added to the 6.1-stable tree
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
drm/meson: fix memory leak on ->hpd_notify callback
to the 6.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-meson-fix-memory-leak-on-hpd_notify-callback.patch
and it can be found in the queue-6.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
From 099f0af9d98231bb74956ce92508e87cbcb896be Mon Sep 17 00:00:00 2001
From: Jani Nikula <[email protected]>
Date: Thu, 14 Sep 2023 16:10:15 +0300
Subject: drm/meson: fix memory leak on ->hpd_notify callback
From: Jani Nikula <[email protected]>
commit 099f0af9d98231bb74956ce92508e87cbcb896be upstream.
The EDID returned by drm_bridge_get_edid() needs to be freed.
--- drivers/gpu/drm/meson/meson_encoder_hdmi.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/meson/meson_encoder_hdmi.c +2 -0
@@ -332,6 +332,8 @@ static void meson_encoder_hdmi_hpd_notifreturn ;cec_notifier_set_phys_addr_from_edid (encoder_hdmi->cec_notifier, edid); + +kfree (edid); }else cec_notifier_phys_addr_invalidate (encoder_hdmi->cec_notifier); }
Patches currently in stable-queue which might be from [email protected] are
queue-6.1/drm-meson-fix-memory-leak-on-hpd_notify-callback.patch