summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-09-03 17:02:37 +0100
committerLee Jones <lee.jones@linaro.org>2020-09-30 16:25:16 +0100
commit529a1101212a785c5df92c314b0e718287150c3b (patch)
tree50181f049af410967b87dd6aad5d917202878474 /tools/perf/scripts/python/export-to-sqlite.py
parent05027df1b94fcb9e23e1af170733a570f5a90356 (diff)
mfd: syscon: Don't free allocated name for regmap_config
The name allocated for the regmap_config structure is freed pretty early, right after the registration of the MMIO region. Unfortunately, that doesn't follow the life cycle that debugfs expects, as it can access the name field long after the free has occurred. Move the free on the error path, and keep it forever otherwise. Fixes: e15d7f2b81d2 ("mfd: syscon: Use a unique name with regmap_config") Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions