[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE-0n52jDxkfYbsQPzKjSeD4rimTz1p2gaDRFpK-LLxxNV31Ow@mail.gmail.com>
Date: Wed, 5 Jan 2022 12:09:28 -0800
From: Stephen Boyd <swboyd@...omium.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
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
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>
Powered by blists - more mailing lists