[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAOTY_8Vf3_BCOd6t2G=e-rU-cKZTdGbqEChPi5vipY6yR02eg@mail.gmail.com>
Date: Mon, 4 Nov 2024 20:39:30 +0800
From: Chun-Kuang Hu <chunkuang.hu@...nel.org>
To: Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: Chun-Kuang Hu <chunkuang.hu@...nel.org>, Philipp Zabel <p.zabel@...gutronix.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Alexandre Mergnat <amergnat@...libre.com>, CK Hu <ck.hu@...iatek.com>,
"Jason-JH.Lin" <jason-jh.lin@...iatek.com>, dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, stable@...r.kernel.org
Subject: Re: [PATCH 0/2] drm/mediatek: Fix child node refcount handling and
use scoped macro
Hi, Javier:
Javier Carrasco <javier.carrasco.cruz@...il.com> 於 2024年10月12日 週六 上午3:22寫道:
>
> This series fixes a wrong handling of the child node within the
> for_each_child_of_node() by adding the missing call to of_node_put() to
> make it compatible with stable kernels that don't provide the scoped
> variant of the macro, which is more secure and was introduced early this
> year.
For this series, applied to mediatek-drm-next [1], thanks.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next
Regards,
Chun-Kuang.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
> ---
> Javier Carrasco (2):
> drm/mediatek: Fix child node refcount handling in early exit
> drm/mediatek: Switch to for_each_child_of_node_scoped()
>
> drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
> ---
> base-commit: d61a00525464bfc5fe92c6ad713350988e492b88
> change-id: 20241011-mtk_drm_drv_memleak-5e8b8e45ed1c
>
> Best regards,
> --
> Javier Carrasco <javier.carrasco.cruz@...il.com>
>
Powered by blists - more mailing lists