diff options
author | Liao Chang <liaochang1@huawei.com> | 2023-08-29 07:03:46 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-29 20:21:35 +0200 |
commit | 916f13884042f615cfbfc0b42cc68dadee826f2a (patch) | |
tree | 1afbe94339d98ebad4a5ea6794eba4a1f5a34381 /tools/perf/scripts/python/stackcollapse.py | |
parent | 61bfbf7951ba561dcbdd5357702d3cbc2d447812 (diff) |
cpufreq: governor: Free dbs_data directly when gov->init() fails
Due to the kobject embedded in the dbs_data doest not has a release()
method yet, it needs to use kfree() to free dbs_data directly when
governor fails to allocate the tunner field of dbs_data.
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions