Re: [PATCH v2] remoteproc: mtk_scp: Fix a potential double free
From: AngeloGioacchino Del Regno
Date: Mon Apr 11 2022 - 04:56:09 EST
Il 09/04/22 08:27, Christophe JAILLET ha scritto:
'scp->rproc' is allocated using devm_rproc_alloc(), so there is no need
to free it explicitly in the remove function.
Fixes: c1407ac1099a ("remoteproc: mtk_scp: Use devm variant of rproc_alloc()")
Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>