diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-04-09 08:27:54 +0200 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2022-04-12 10:22:00 -0600 |
commit | eac3e5b1c12f85732e60f5f8b985444d273866bb (patch) | |
tree | 21e12a454f9e352d1d209240d607132219c1d652 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e (diff) |
remoteproc: mtk_scp: Fix a potential double free
'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@wanadoo.fr>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/1d15023b4afb94591435c48482fe1276411b9a07.1648981531.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions