[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7d9a565e-5a5c-003a-b1e1-7bdf72f29efa@wanadoo.fr>
Date: Wed, 5 Jan 2022 21:40:05 +0100
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: Stephen Boyd <swboyd@...omium.org>, airlied@...ux.ie,
bjorn.andersson@...aro.org, daniel@...ll.ch,
quic_abhinavk@...cinc.com, quic_khsieh@...cinc.com,
robdclark@...il.com, sean@...rly.run
Cc: linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] drm/msm/dp: Fix a potential double free in an error
handling path
Le 05/01/2022 à 21:09, Stephen Boyd a écrit :
> Quoting Christophe JAILLET (2021-12-26 07:14:05)
>> 'dp_bridge' is devm_alloc'ed, so there is no need to free it explicitly or
>> there will be a double free().
>>
>> Fixes: 8a3b4c17f863 ("drm/msm/dp: employ bridge mechanism for display enable and disable")
>> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
>> ---
>
> Reviewed-by: Stephen Boyd <swboyd@...omium.org>
>
and
>
> Reviewed-by: Kuogee Hsieh <quic_khsieh@...cinc.com>
>
Hi,
Just for your information, it has also been reported by Dan Carpenter 1
or 2 weeks before me and is part of -next in commit 48d0cf4a7cf2.
CJ
Powered by blists - more mailing lists