summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-09-23 17:23:37 +0200
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2025-11-17 15:04:42 +0000
commit5e49200593f331cd0629b5376fab9192f698e8ef (patch)
tree867a1c5d9734b0b6e42890e1bdc56f0755120823 /tools/lib/python/kdoc/kdoc_re.py
parent07c7c640a8eb9e196f357d15d88a59602a947197 (diff)
drm/mediatek: Fix probe memory leak
The Mediatek DRM driver allocates private data for components without a platform driver but as the lifetime is tied to each component device, the memory is never freed. Tie the allocation lifetime to the DRM platform device so that the memory is released on probe failure (e.g. probe deferral) and when the driver is unbound. Fixes: c0d36de868a6 ("drm/mediatek: Move clk info from struct mtk_ddp_comp to sub driver private data") Cc: stable@vger.kernel.org # 5.12 Cc: CK Hu <ck.hu@mediatek.com> Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://patchwork.kernel.org/project/dri-devel/patch/20250923152340.18234-3-johan@kernel.org/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions