summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWang ShaoBo <bobo.shaobowang@huawei.com>2022-11-23 06:46:16 +0300
committerMark Brown <broonie@kernel.org>2022-11-23 16:09:08 +0300
commitdc8d006d15b623c1d80b90b45d6dcb6e890dad09 (patch)
treece4ae62a414fc5d8b04989f7b6b3658a96d9e7f5 /tools/perf/scripts/python/export-to-postgresql.py
parent149f52664bb3ffe95e6212f20971d40efec2aa68 (diff)
downloadlinux-dc8d006d15b623c1d80b90b45d6dcb6e890dad09.tar.xz
regulator: core: use kfree_const() to free space conditionally
Use kfree_const() to free supply_name conditionally in create_regulator() as supply_name may be allocated from kmalloc() or directly from .rodata section. Fixes: 87fe29b61f95 ("regulator: push allocations in create_regulator() outside of lock") Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com> Link: https://lore.kernel.org/r/20221123034616.3609537-1-bobo.shaobowang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions